pax_global_header00006660000000000000000000000064116141322500014505gustar00rootroot0000000000000052 comment=417c4aba623ff61f0b61ad11b53672a04e8fefa5 aspell-0.60.7~20110707/000077500000000000000000000000001161413225000140775ustar00rootroot00000000000000aspell-0.60.7~20110707/ABOUT-NLS000066400000000000000000002333401161413225000153330ustar00rootroot000000000000001 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%. Ready PO files af am ar az be bg bs ca cs cy da de el en en_GB eo +----------------------------------------------------+ GNUnet | [] | a2ps | [] [] [] [] [] | aegis | () | ant-phone | () | anubis | [] | ap-utils | | aspell | [] [] [] [] [] | bash | [] [] [] | batchelor | [] | bfd | | bibshelf | [] | binutils | [] | bison | [] [] | bison-runtime | | bluez-pin | [] [] [] [] [] | cflow | [] | clisp | [] [] | console-tools | [] [] | coreutils | [] [] [] | cpio | | cpplib | [] [] [] | cryptonit | [] | darkstat | [] () [] | dialog | [] [] [] [] [] [] | diffutils | [] [] [] [] [] [] | doodle | [] | e2fsprogs | [] [] | enscript | [] [] [] [] | error | [] [] [] [] | fetchmail | [] [] () [] | fileutils | [] [] | findutils | [] [] [] | flex | [] [] [] | fslint | [] | gas | | gawk | [] [] [] | gbiff | [] | gcal | [] | gcc | [] | gettext-examples | [] [] [] [] [] | gettext-runtime | [] [] [] [] [] | gettext-tools | [] [] | gimp-print | [] [] [] [] | gip | [] | gliv | [] | glunarclock | [] | gmult | [] [] | gnubiff | () | gnucash | () () [] | gnucash-glossary | [] () | gnuedu | | gnulib | [] [] [] [] [] [] | gnunet-gtk | | gnutls | | gpe-aerial | [] [] | gpe-beam | [] [] | gpe-calendar | | gpe-clock | [] [] | gpe-conf | [] [] | gpe-contacts | | gpe-edit | [] | gpe-filemanager | | gpe-go | [] | gpe-login | [] [] | gpe-ownerinfo | [] [] | gpe-package | | gpe-sketchbook | [] [] | gpe-su | [] [] | gpe-taskmanager | [] [] | gpe-timesheet | [] | gpe-today | [] [] | gpe-todo | | gphoto2 | [] [] [] [] | gprof | [] [] | gpsdrive | () () | gramadoir | [] [] | grep | [] [] [] [] [] [] | gretl | | gsasl | | gss | | gst-plugins | [] [] [] [] | gst-plugins-base | [] [] [] | gst-plugins-good | [] [] [] [] [] [] [] | gstreamer | [] [] [] [] [] [] [] | gtick | () | gtkam | [] [] [] | gtkorphan | [] [] | gtkspell | [] [] [] [] | gutenprint | [] | hello | [] [] [] [] [] | id-utils | [] [] | impost | | indent | [] [] [] | iso_3166 | [] [] | iso_3166_2 | | iso_4217 | [] | iso_639 | [] [] | jpilot | [] | jtag | | jwhois | | kbd | [] [] [] [] | keytouch | | keytouch-editor | | keytouch-keyboa... | | latrine | () | ld | [] | leafpad | [] [] [] [] [] | libc | [] [] [] [] [] | libexif | [] | libextractor | [] | libgpewidget | [] [] [] | libgpg-error | [] | libgphoto2 | [] [] | libgphoto2_port | [] [] | libgsasl | | libiconv | [] [] | libidn | [] [] | lifelines | [] () | lilypond | [] | lingoteach | | lynx | [] [] [] [] | m4 | [] [] [] [] | mailutils | [] | make | [] [] | man-db | [] () [] [] | minicom | [] [] [] | mysecretdiary | [] [] | nano | [] [] [] | nano_1_0 | [] () [] [] | opcodes | [] | parted | | pilot-qof | [] | psmisc | [] | pwdutils | | python | | qof | | radius | [] | recode | [] [] [] [] [] [] | rpm | [] [] | screem | | scrollkeeper | [] [] [] [] [] [] [] [] | sed | [] [] [] | sh-utils | [] [] | shared-mime-info | [] [] [] [] | sharutils | [] [] [] [] [] [] | shishi | | silky | | skencil | [] () | sketch | [] () | solfege | | soundtracker | [] [] | sp | [] | stardict | [] | system-tools-ba... | [] [] [] [] [] [] [] [] [] | tar | [] | texinfo | [] [] [] | textutils | [] [] [] | tin | () () | tp-robot | [] | tuxpaint | [] [] [] [] [] | unicode-han-tra... | | unicode-transla... | | util-linux | [] [] [] [] | vorbis-tools | [] [] [] [] | wastesedge | () | wdiff | [] [] [] [] | wget | [] [] | xchat | [] [] [] [] [] [] | xkeyboard-config | | xpad | [] [] | +----------------------------------------------------+ af am ar az be bg bs ca cs cy da de el en en_GB eo 10 0 1 2 9 22 1 42 41 2 60 95 16 1 17 16 es et eu fa fi fr ga gl gu he hi hr hu id is it +--------------------------------------------------+ GNUnet | | a2ps | [] [] [] () | aegis | | ant-phone | [] | anubis | [] | ap-utils | [] [] | aspell | [] [] [] | bash | [] [] [] | batchelor | [] [] | bfd | [] | bibshelf | [] [] [] | binutils | [] [] [] | bison | [] [] [] [] [] [] | bison-runtime | [] [] [] [] [] | bluez-pin | [] [] [] [] [] | cflow | [] | clisp | [] [] | console-tools | | coreutils | [] [] [] [] [] [] | cpio | [] [] [] | cpplib | [] [] | cryptonit | [] | darkstat | [] () [] [] [] | dialog | [] [] [] [] [] [] [] [] | diffutils | [] [] [] [] [] [] [] [] [] | doodle | [] [] | e2fsprogs | [] [] [] | enscript | [] [] [] | error | [] [] [] [] [] | fetchmail | [] | fileutils | [] [] [] [] [] [] | findutils | [] [] [] [] | flex | [] [] [] | fslint | [] | gas | [] [] | gawk | [] [] [] [] | gbiff | [] | gcal | [] [] | gcc | [] | gettext-examples | [] [] [] [] [] [] | gettext-runtime | [] [] [] [] [] [] | gettext-tools | [] [] [] | gimp-print | [] [] | gip | [] [] [] | gliv | () | glunarclock | [] [] [] | gmult | [] [] [] | gnubiff | () () | gnucash | () () () | gnucash-glossary | [] [] | gnuedu | [] | gnulib | [] [] [] [] [] [] [] [] | gnunet-gtk | | gnutls | | gpe-aerial | [] [] | gpe-beam | [] [] | gpe-calendar | | gpe-clock | [] [] [] [] | gpe-conf | [] | gpe-contacts | [] [] | gpe-edit | [] [] [] [] | gpe-filemanager | [] | gpe-go | [] [] [] | gpe-login | [] [] [] | gpe-ownerinfo | [] [] [] [] [] | gpe-package | [] | gpe-sketchbook | [] [] | gpe-su | [] [] [] [] | gpe-taskmanager | [] [] [] | gpe-timesheet | [] [] [] [] | gpe-today | [] [] [] [] | gpe-todo | [] | gphoto2 | [] [] [] [] [] | gprof | [] [] [] [] | gpsdrive | () () [] () | gramadoir | [] [] | grep | [] [] [] [] [] [] [] [] [] [] [] [] | gretl | [] [] [] | gsasl | [] [] | gss | [] | gst-plugins | [] [] [] | gst-plugins-base | [] [] | gst-plugins-good | [] [] [] | gstreamer | [] [] [] | gtick | [] | gtkam | [] [] [] [] | gtkorphan | [] [] | gtkspell | [] [] [] [] [] [] | gutenprint | [] | hello | [] [] [] [] [] [] [] [] [] [] [] [] [] | id-utils | [] [] [] [] [] | impost | [] [] | indent | [] [] [] [] [] [] [] [] [] [] | iso_3166 | [] [] [] | iso_3166_2 | [] | iso_4217 | [] [] [] [] | iso_639 | [] [] [] [] [] | jpilot | [] [] | jtag | [] | jwhois | [] [] [] [] [] | kbd | [] [] | keytouch | [] | keytouch-editor | [] | keytouch-keyboa... | [] | latrine | [] [] [] | ld | [] [] | leafpad | [] [] [] [] [] [] | libc | [] [] [] [] [] | libexif | [] | libextractor | [] | libgpewidget | [] [] [] [] [] | libgpg-error | | libgphoto2 | [] [] [] | libgphoto2_port | [] [] | libgsasl | [] [] | libiconv | [] [] | libidn | [] [] | lifelines | () | lilypond | [] | lingoteach | [] [] [] | lynx | [] [] [] | m4 | [] [] [] [] | mailutils | [] [] | make | [] [] [] [] [] [] [] [] | man-db | () | minicom | [] [] [] [] | mysecretdiary | [] [] [] | nano | [] [] [] [] [] [] | nano_1_0 | [] [] [] [] [] | opcodes | [] [] [] [] | parted | [] [] [] [] | pilot-qof | | psmisc | [] [] [] | pwdutils | | python | | qof | [] | radius | [] [] | recode | [] [] [] [] [] [] [] [] | rpm | [] [] | screem | | scrollkeeper | [] [] [] | sed | [] [] [] [] [] | sh-utils | [] [] [] [] [] [] [] | shared-mime-info | [] [] [] [] [] [] | sharutils | [] [] [] [] [] [] [] [] | shishi | | silky | [] | skencil | [] [] | sketch | [] [] | solfege | [] | soundtracker | [] [] [] | sp | [] | stardict | [] | system-tools-ba... | [] [] [] [] [] [] [] [] | tar | [] [] [] [] [] [] [] | texinfo | [] [] | textutils | [] [] [] [] [] | tin | [] () | tp-robot | [] [] [] [] | tuxpaint | [] [] | unicode-han-tra... | | unicode-transla... | [] [] | util-linux | [] [] [] [] [] [] [] | vorbis-tools | [] [] | wastesedge | () | wdiff | [] [] [] [] [] [] [] [] | wget | [] [] [] [] [] [] [] [] | xchat | [] [] [] [] [] [] [] [] | xkeyboard-config | [] [] [] [] | xpad | [] [] [] | +--------------------------------------------------+ es et eu fa fi fr ga gl gu he hi hr hu id is it 88 22 14 2 40 115 61 14 1 8 1 6 59 31 0 52 ja ko ku ky lg lt lv mk mn ms mt nb ne nl nn no +-------------------------------------------------+ GNUnet | | a2ps | () [] [] () | aegis | () | ant-phone | [] | anubis | [] [] [] | ap-utils | [] | aspell | [] [] | bash | [] | batchelor | [] [] | bfd | | bibshelf | [] | binutils | | bison | [] [] [] | bison-runtime | [] [] [] | bluez-pin | [] [] [] | cflow | | clisp | [] | console-tools | | coreutils | [] | cpio | | cpplib | [] | cryptonit | [] | darkstat | [] [] | dialog | [] [] | diffutils | [] [] [] | doodle | | e2fsprogs | [] | enscript | [] | error | [] | fetchmail | [] [] | fileutils | [] [] | findutils | [] | flex | [] [] | fslint | [] [] | gas | | gawk | [] [] | gbiff | [] | gcal | | gcc | | gettext-examples | [] [] | gettext-runtime | [] [] [] | gettext-tools | [] [] | gimp-print | [] [] | gip | [] [] | gliv | [] | glunarclock | [] [] | gmult | [] [] | gnubiff | | gnucash | () () | gnucash-glossary | [] | gnuedu | | gnulib | [] [] [] [] | gnunet-gtk | | gnutls | | gpe-aerial | [] | gpe-beam | [] | gpe-calendar | [] | gpe-clock | [] [] [] | gpe-conf | [] [] | gpe-contacts | [] | gpe-edit | [] [] [] | gpe-filemanager | [] [] | gpe-go | [] [] [] | gpe-login | [] [] [] | gpe-ownerinfo | [] [] | gpe-package | [] [] | gpe-sketchbook | [] [] | gpe-su | [] [] [] | gpe-taskmanager | [] [] [] [] | gpe-timesheet | [] | gpe-today | [] [] | gpe-todo | [] | gphoto2 | [] [] | gprof | | gpsdrive | () () () | gramadoir | () | grep | [] [] [] [] | gretl | | gsasl | [] | gss | | gst-plugins | [] | gst-plugins-base | | gst-plugins-good | [] | gstreamer | [] | gtick | | gtkam | [] | gtkorphan | [] | gtkspell | [] [] | gutenprint | | hello | [] [] [] [] [] [] | id-utils | [] | impost | | indent | [] [] | iso_3166 | [] | iso_3166_2 | [] | iso_4217 | [] [] [] | iso_639 | [] [] | jpilot | () () () | jtag | | jwhois | [] | kbd | [] | keytouch | [] | keytouch-editor | | keytouch-keyboa... | | latrine | [] | ld | | leafpad | [] [] | libc | [] [] [] [] [] | libexif | | libextractor | | libgpewidget | [] | libgpg-error | | libgphoto2 | [] | libgphoto2_port | [] | libgsasl | [] | libiconv | | libidn | [] [] | lifelines | [] | lilypond | | lingoteach | [] | lynx | [] [] | m4 | [] [] | mailutils | | make | [] [] [] | man-db | () | minicom | [] | mysecretdiary | [] | nano | [] [] [] | nano_1_0 | [] [] [] | opcodes | [] | parted | [] [] | pilot-qof | | psmisc | [] [] [] | pwdutils | | python | | qof | | radius | | recode | [] | rpm | [] [] | screem | [] | scrollkeeper | [] [] [] [] | sed | [] [] | sh-utils | [] [] | shared-mime-info | [] [] [] [] [] | sharutils | [] [] | shishi | | silky | [] | skencil | | sketch | | solfege | | soundtracker | | sp | () | stardict | [] [] | system-tools-ba... | [] [] [] [] | tar | [] [] [] | texinfo | [] [] [] | textutils | [] [] [] | tin | | tp-robot | [] | tuxpaint | [] | unicode-han-tra... | | unicode-transla... | | util-linux | [] [] | vorbis-tools | [] | wastesedge | [] | wdiff | [] [] | wget | [] [] | xchat | [] [] [] [] | xkeyboard-config | [] | xpad | [] [] [] | +-------------------------------------------------+ ja ko ku ky lg lt lv mk mn ms mt nb ne nl nn no 52 24 2 2 1 3 0 2 3 21 0 15 1 97 5 1 nso or pa pl pt pt_BR rm ro ru rw sk sl sq sr sv ta +------------------------------------------------------+ GNUnet | | a2ps | () [] [] [] [] [] [] | aegis | () () | ant-phone | [] [] | anubis | [] [] [] | ap-utils | () | aspell | [] [] | bash | [] [] [] | batchelor | [] [] | bfd | | bibshelf | [] | binutils | [] [] | bison | [] [] [] [] [] | bison-runtime | [] [] [] [] | bluez-pin | [] [] [] [] [] [] [] [] [] | cflow | [] | clisp | [] | console-tools | [] | coreutils | [] [] [] [] | cpio | [] [] [] | cpplib | [] | cryptonit | [] [] | darkstat | [] [] [] [] [] [] | dialog | [] [] [] [] [] [] [] [] [] | diffutils | [] [] [] [] [] [] | doodle | [] [] | e2fsprogs | [] [] | enscript | [] [] [] [] [] | error | [] [] [] [] | fetchmail | [] [] [] | fileutils | [] [] [] [] [] | findutils | [] [] [] [] [] [] | flex | [] [] [] [] [] | fslint | [] [] [] [] | gas | | gawk | [] [] [] [] | gbiff | [] | gcal | [] | gcc | [] | gettext-examples | [] [] [] [] [] [] [] [] | gettext-runtime | [] [] [] [] [] [] [] [] | gettext-tools | [] [] [] [] [] [] [] | gimp-print | [] [] | gip | [] [] [] [] | gliv | [] [] [] [] | glunarclock | [] [] [] [] [] [] | gmult | [] [] [] [] | gnubiff | () | gnucash | () [] | gnucash-glossary | [] [] [] | gnuedu | | gnulib | [] [] [] [] [] | gnunet-gtk | [] | gnutls | [] [] | gpe-aerial | [] [] [] [] [] [] [] | gpe-beam | [] [] [] [] [] [] [] | gpe-calendar | [] | gpe-clock | [] [] [] [] [] [] [] [] | gpe-conf | [] [] [] [] [] [] [] | gpe-contacts | [] [] [] [] [] | gpe-edit | [] [] [] [] [] [] [] [] | gpe-filemanager | [] [] | gpe-go | [] [] [] [] [] [] | gpe-login | [] [] [] [] [] [] [] [] | gpe-ownerinfo | [] [] [] [] [] [] [] [] | gpe-package | [] [] | gpe-sketchbook | [] [] [] [] [] [] [] [] | gpe-su | [] [] [] [] [] [] [] [] | gpe-taskmanager | [] [] [] [] [] [] [] [] | gpe-timesheet | [] [] [] [] [] [] [] [] | gpe-today | [] [] [] [] [] [] [] [] | gpe-todo | [] [] [] [] | gphoto2 | [] [] [] [] [] | gprof | [] [] [] | gpsdrive | [] [] [] | gramadoir | [] [] | grep | [] [] [] [] [] [] [] [] | gretl | [] | gsasl | [] [] [] | gss | [] [] [] | gst-plugins | [] [] [] [] | gst-plugins-base | [] | gst-plugins-good | [] [] [] [] | gstreamer | [] [] [] | gtick | [] | gtkam | [] [] [] [] | gtkorphan | [] | gtkspell | [] [] [] [] [] [] [] [] | gutenprint | [] | hello | [] [] [] [] [] [] [] [] | id-utils | [] [] [] [] | impost | [] | indent | [] [] [] [] [] [] | iso_3166 | [] [] [] [] [] [] | iso_3166_2 | | iso_4217 | [] [] [] [] | iso_639 | [] [] [] [] | jpilot | | jtag | [] | jwhois | [] [] [] [] | kbd | [] [] [] | keytouch | [] | keytouch-editor | [] | keytouch-keyboa... | [] | latrine | [] [] | ld | [] | leafpad | [] [] [] [] [] [] | libc | [] [] [] [] [] | libexif | [] | libextractor | [] [] | libgpewidget | [] [] [] [] [] [] [] | libgpg-error | [] [] | libgphoto2 | [] | libgphoto2_port | [] [] [] | libgsasl | [] [] [] [] | libiconv | [] [] | libidn | [] [] () | lifelines | [] [] | lilypond | | lingoteach | [] | lynx | [] [] [] | m4 | [] [] [] [] [] | mailutils | [] [] [] [] | make | [] [] [] [] | man-db | [] [] | minicom | [] [] [] [] [] | mysecretdiary | [] [] [] [] | nano | [] [] [] | nano_1_0 | [] [] [] [] | opcodes | [] [] | parted | [] | pilot-qof | [] | psmisc | [] [] | pwdutils | [] [] | python | | qof | [] [] | radius | [] [] | recode | [] [] [] [] [] [] [] | rpm | [] [] [] [] | screem | | scrollkeeper | [] [] [] [] [] [] [] | sed | [] [] [] [] [] [] [] [] [] | sh-utils | [] [] [] | shared-mime-info | [] [] [] [] [] | sharutils | [] [] [] [] | shishi | [] | silky | [] | skencil | [] [] [] | sketch | [] [] [] | solfege | [] | soundtracker | [] [] | sp | | stardict | [] [] [] | system-tools-ba... | [] [] [] [] [] [] [] [] [] | tar | [] [] [] [] [] | texinfo | [] [] [] [] | textutils | [] [] [] | tin | () | tp-robot | [] | tuxpaint | [] [] [] [] [] | unicode-han-tra... | | unicode-transla... | | util-linux | [] [] [] [] | vorbis-tools | [] [] | wastesedge | | wdiff | [] [] [] [] [] [] | wget | [] [] [] [] | xchat | [] [] [] [] [] [] [] | xkeyboard-config | [] [] | xpad | [] [] [] | +------------------------------------------------------+ nso or pa pl pt pt_BR rm ro ru rw sk sl sq sr sv ta 0 2 3 58 30 54 5 73 72 4 40 46 11 50 128 2 tg th tk tr uk ven vi wa xh zh_CN zh_HK zh_TW zu +---------------------------------------------------+ GNUnet | [] | 2 a2ps | [] [] [] | 19 aegis | | 0 ant-phone | [] [] | 6 anubis | [] [] [] | 11 ap-utils | () [] | 4 aspell | [] [] [] | 15 bash | [] | 11 batchelor | [] [] | 9 bfd | | 1 bibshelf | [] | 7 binutils | [] [] [] | 9 bison | [] [] [] | 19 bison-runtime | [] [] [] | 15 bluez-pin | [] [] [] [] [] [] | 28 cflow | [] [] | 5 clisp | | 6 console-tools | [] [] | 5 coreutils | [] [] | 16 cpio | [] [] [] | 9 cpplib | [] [] [] [] | 11 cryptonit | | 5 darkstat | [] () () | 15 dialog | [] [] [] [] [] | 30 diffutils | [] [] [] [] | 28 doodle | [] | 6 e2fsprogs | [] [] | 10 enscript | [] [] [] | 16 error | [] [] [] [] | 18 fetchmail | [] [] | 12 fileutils | [] [] [] | 18 findutils | [] [] [] | 17 flex | [] [] | 15 fslint | [] | 9 gas | [] | 3 gawk | [] [] | 15 gbiff | [] | 5 gcal | [] | 5 gcc | [] [] [] | 6 gettext-examples | [] [] [] [] [] [] | 27 gettext-runtime | [] [] [] [] [] [] | 28 gettext-tools | [] [] [] [] [] | 19 gimp-print | [] [] | 12 gip | [] [] | 12 gliv | [] [] | 8 glunarclock | [] [] [] | 15 gmult | [] [] [] [] | 15 gnubiff | [] | 1 gnucash | () | 2 gnucash-glossary | [] [] | 9 gnuedu | [] | 2 gnulib | [] [] [] [] [] | 28 gnunet-gtk | | 1 gnutls | | 2 gpe-aerial | [] [] | 14 gpe-beam | [] [] | 14 gpe-calendar | [] | 3 gpe-clock | [] [] [] [] | 21 gpe-conf | [] [] | 14 gpe-contacts | [] [] | 10 gpe-edit | [] [] [] [] | 20 gpe-filemanager | [] | 6 gpe-go | [] [] | 15 gpe-login | [] [] [] [] [] | 21 gpe-ownerinfo | [] [] [] [] | 21 gpe-package | [] | 6 gpe-sketchbook | [] [] | 16 gpe-su | [] [] [] | 20 gpe-taskmanager | [] [] [] | 20 gpe-timesheet | [] [] [] [] | 18 gpe-today | [] [] [] [] [] | 21 gpe-todo | [] | 7 gphoto2 | [] [] [] [] | 20 gprof | [] [] | 11 gpsdrive | | 4 gramadoir | [] | 7 grep | [] [] [] [] | 34 gretl | | 4 gsasl | [] [] | 8 gss | [] | 5 gst-plugins | [] [] [] | 15 gst-plugins-base | [] [] [] | 9 gst-plugins-good | [] [] [] [] [] | 20 gstreamer | [] [] [] | 17 gtick | [] | 3 gtkam | [] | 13 gtkorphan | [] | 7 gtkspell | [] [] [] [] [] [] | 26 gutenprint | | 3 hello | [] [] [] [] [] | 37 id-utils | [] [] | 14 impost | [] | 4 indent | [] [] [] [] | 25 iso_3166 | [] [] [] [] | 16 iso_3166_2 | | 2 iso_4217 | [] [] | 14 iso_639 | [] | 14 jpilot | [] [] [] [] | 7 jtag | [] | 3 jwhois | [] [] [] | 13 kbd | [] [] | 12 keytouch | [] | 4 keytouch-editor | | 2 keytouch-keyboa... | [] | 3 latrine | [] [] | 8 ld | [] [] [] [] | 8 leafpad | [] [] [] [] | 23 libc | [] [] [] | 23 libexif | [] | 4 libextractor | [] | 5 libgpewidget | [] [] [] | 19 libgpg-error | [] | 4 libgphoto2 | [] | 8 libgphoto2_port | [] [] [] | 11 libgsasl | [] | 8 libiconv | [] | 7 libidn | [] [] | 10 lifelines | | 4 lilypond | | 2 lingoteach | [] | 6 lynx | [] [] [] | 15 m4 | [] [] [] | 18 mailutils | [] | 8 make | [] [] [] | 20 man-db | [] | 6 minicom | [] | 14 mysecretdiary | [] [] | 12 nano | [] [] | 17 nano_1_0 | [] [] [] | 18 opcodes | [] [] | 10 parted | [] [] [] | 10 pilot-qof | [] | 3 psmisc | [] | 10 pwdutils | [] | 3 python | | 0 qof | [] | 4 radius | [] | 6 recode | [] [] [] | 25 rpm | [] [] [] [] | 14 screem | [] | 2 scrollkeeper | [] [] [] [] | 26 sed | [] [] [] | 22 sh-utils | [] | 15 shared-mime-info | [] [] [] [] | 24 sharutils | [] [] [] | 23 shishi | | 1 silky | [] | 4 skencil | [] | 7 sketch | | 6 solfege | | 2 soundtracker | [] [] | 9 sp | [] | 3 stardict | [] [] [] [] | 11 system-tools-ba... | [] [] [] [] [] [] [] | 37 tar | [] [] [] [] | 20 texinfo | [] [] [] | 15 textutils | [] [] [] | 17 tin | | 1 tp-robot | [] [] [] | 10 tuxpaint | [] [] [] | 16 unicode-han-tra... | | 0 unicode-transla... | | 2 util-linux | [] [] [] | 20 vorbis-tools | [] [] | 11 wastesedge | | 1 wdiff | [] [] | 22 wget | [] [] [] | 19 xchat | [] [] [] [] | 29 xkeyboard-config | [] [] [] [] | 11 xpad | [] [] [] | 14 +---------------------------------------------------+ 77 teams tg th tk tr uk ven vi wa xh zh_CN zh_HK zh_TW zu 170 domains 0 1 1 77 39 0 136 10 1 48 5 54 0 2028 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. aspell-0.60.7~20110707/COPYING000066400000000000000000000634761161413225000151520ustar00rootroot00000000000000 GNU LESSER GENERAL PUBLIC LICENSE Version 2.1, February 1999 Copyright (C) 1991, 1999 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. [This is the first released version of the Lesser GPL. It also counts as the successor of the GNU Library Public License, version 2, hence the version number 2.1.] Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public Licenses are intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This license, the Lesser General Public License, applies to some specially designated software packages--typically libraries--of the Free Software Foundation and other authors who decide to use it. You can use it too, but we suggest you first think carefully about whether this license or the ordinary General Public License is the better strategy to use in any particular case, based on the explanations below. When we speak of free software, we are referring to freedom of use, 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 this service if you wish); that you receive source code or can get it if you want it; that you can change the software and use pieces of it in new free programs; and that you are informed that you can do these things. To protect your rights, we need to make restrictions that forbid distributors to deny you these rights or to ask you to surrender these rights. These restrictions translate to certain responsibilities for you if you distribute copies of the library or if you modify it. For example, if you distribute copies of the library, whether gratis or for a fee, you must give the recipients all the rights that we gave you. You must make sure that they, too, receive or can get the source code. If you link other code with the library, you must provide complete object files to the recipients, so that they can relink them with the library after making changes to the library and recompiling it. And you must show them these terms so they know their rights. We protect your rights with a two-step method: (1) we copyright the library, and (2) we offer you this license, which gives you legal permission to copy, distribute and/or modify the library. To protect each distributor, we want to make it very clear that there is no warranty for the free library. Also, if the library is modified by someone else and passed on, the recipients should know that what they have is not the original version, so that the original author's reputation will not be affected by problems that might be introduced by others. Finally, software patents pose a constant threat to the existence of any free program. We wish to make sure that a company cannot effectively restrict the users of a free program by obtaining a restrictive license from a patent holder. Therefore, we insist that any patent license obtained for a version of the library must be consistent with the full freedom of use specified in this license. Most GNU software, including some libraries, is covered by the ordinary GNU General Public License. This license, the GNU Lesser General Public License, applies to certain designated libraries, and is quite different from the ordinary General Public License. We use this license for certain libraries in order to permit linking those libraries into non-free programs. When a program is linked with a library, whether statically or using a shared library, the combination of the two is legally speaking a combined work, a derivative of the original library. The ordinary General Public License therefore permits such linking only if the entire combination fits its criteria of freedom. The Lesser General Public License permits more lax criteria for linking other code with the library. We call this license the "Lesser" General Public License because it does Less to protect the user's freedom than the ordinary General Public License. It also provides other free software developers Less of an advantage over competing non-free programs. These disadvantages are the reason we use the ordinary General Public License for many libraries. However, the Lesser license provides advantages in certain special circumstances. For example, on rare occasions, there may be a special need to encourage the widest possible use of a certain library, so that it becomes a de-facto standard. To achieve this, non-free programs must be allowed to use the library. A more frequent case is that a free library does the same job as widely used non-free libraries. In this case, there is little to gain by limiting the free library to free software only, so we use the Lesser General Public License. In other cases, permission to use a particular library in non-free programs enables a greater number of people to use a large body of free software. For example, permission to use the GNU C Library in non-free programs enables many more people to use the whole GNU operating system, as well as its variant, the GNU/Linux operating system. Although the Lesser General Public License is Less protective of the users' freedom, it does ensure that the user of a program that is linked with the Library has the freedom and the wherewithal to run that program using a modified version of the Library. The precise terms and conditions for copying, distribution and modification follow. Pay close attention to the difference between a "work based on the library" and a "work that uses the library". The former contains code derived from the library, whereas the latter must be combined with the library in order to run. GNU LESSER GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License Agreement applies to any software library or other program which contains a notice placed by the copyright holder or other authorized party saying it may be distributed under the terms of this Lesser General Public License (also called "this License"). Each licensee is addressed as "you". A "library" means a collection of software functions and/or data prepared so as to be conveniently linked with application programs (which use some of those functions and data) to form executables. The "Library", below, refers to any such software library or work which has been distributed under these terms. A "work based on the Library" means either the Library or any derivative work under copyright law: that is to say, a work containing the Library or a portion of it, either verbatim or with modifications and/or translated straightforwardly into another language. (Hereinafter, translation is included without limitation in the term "modification".) "Source code" for a work means the preferred form of the work for making modifications to it. For a library, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the library. Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running a program using the Library is not restricted, and output from such a program is covered only if its contents constitute a work based on the Library (independent of the use of the Library in a tool for writing it). Whether that is true depends on what the Library does and what the program that uses the Library does. 1. You may copy and distribute verbatim copies of the Library's complete source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and distribute a copy of this License along with the Library. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Library or any portion of it, thus forming a work based on the Library, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) The modified work must itself be a software library. b) You must cause the files modified to carry prominent notices stating that you changed the files and the date of any change. c) You must cause the whole of the work to be licensed at no charge to all third parties under the terms of this License. d) If a facility in the modified Library refers to a function or a table of data to be supplied by an application program that uses the facility, other than as an argument passed when the facility is invoked, then you must make a good faith effort to ensure that, in the event an application does not supply such function or table, the facility still operates, and performs whatever part of its purpose remains meaningful. (For example, a function in a library to compute square roots has a purpose that is entirely well-defined independent of the application. Therefore, Subsection 2d requires that any application-supplied function or table used by this function must be optional: if the application does not supply it, the square root function must still compute square roots.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Library, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Library, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Library. In addition, mere aggregation of another work not based on the Library with the Library (or with a work based on the Library) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may opt to apply the terms of the ordinary GNU General Public License instead of this License to a given copy of the Library. To do this, you must alter all the notices that refer to this License, so that they refer to the ordinary GNU General Public License, version 2, instead of to this License. (If a newer version than version 2 of the ordinary GNU General Public License has appeared, then you can specify that version instead if you wish.) Do not make any other change in these notices. Once this change is made in a given copy, it is irreversible for that copy, so the ordinary GNU General Public License applies to all subsequent copies and derivative works made from that copy. This option is useful when you wish to copy part of the code of the Library into a program that is not a library. 4. You may copy and distribute the Library (or a portion or derivative of it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange. If distribution of object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place satisfies the requirement to distribute the source code, even though third parties are not compelled to copy the source along with the object code. 5. A program that contains no derivative of any portion of the Library, but is designed to work with the Library by being compiled or linked with it, is called a "work that uses the Library". Such a work, in isolation, is not a derivative work of the Library, and therefore falls outside the scope of this License. However, linking a "work that uses the Library" with the Library creates an executable that is a derivative of the Library (because it contains portions of the Library), rather than a "work that uses the library". The executable is therefore covered by this License. Section 6 states terms for distribution of such executables. When a "work that uses the Library" uses material from a header file that is part of the Library, the object code for the work may be a derivative work of the Library even though the source code is not. Whether this is true is especially significant if the work can be linked without the Library, or if the work is itself a library. The threshold for this to be true is not precisely defined by law. If such an object file uses only numerical parameters, data structure layouts and accessors, and small macros and small inline functions (ten lines or less in length), then the use of the object file is unrestricted, regardless of whether it is legally a derivative work. (Executables containing this object code plus portions of the Library will still fall under Section 6.) Otherwise, if the work is a derivative of the Library, you may distribute the object code for the work under the terms of Section 6. Any executables containing that work also fall under Section 6, whether or not they are linked directly with the Library itself. 6. As an exception to the Sections above, you may also combine or link a "work that uses the Library" with the Library to produce a work containing portions of the Library, and distribute that work under terms of your choice, provided that the terms permit modification of the work for the customer's own use and reverse engineering for debugging such modifications. You must give prominent notice with each copy of the work that the Library is used in it and that the Library and its use are covered by this License. You must supply a copy of this License. If the work during execution displays copyright notices, you must include the copyright notice for the Library among them, as well as a reference directing the user to the copy of this License. Also, you must do one of these things: a) Accompany the work with the complete corresponding machine-readable source code for the Library including whatever changes were used in the work (which must be distributed under Sections 1 and 2 above); and, if the work is an executable linked with the Library, with the complete machine-readable "work that uses the Library", as object code and/or source code, so that the user can modify the Library and then relink to produce a modified executable containing the modified Library. (It is understood that the user who changes the contents of definitions files in the Library will not necessarily be able to recompile the application to use the modified definitions.) b) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (1) uses at run time a copy of the library already present on the user's computer system, rather than copying library functions into the executable, and (2) will operate properly with a modified version of the library, if the user installs one, as long as the modified version is interface-compatible with the version that the work was made with. c) Accompany the work with a written offer, valid for at least three years, to give the same user the materials specified in Subsection 6a, above, for a charge no more than the cost of performing this distribution. d) If distribution of the work is made by offering access to copy from a designated place, offer equivalent access to copy the above specified materials from the same place. e) Verify that the user has already received a copy of these materials or that you have already sent this user a copy. For an executable, the required form of the "work that uses the Library" must include any data and utility programs needed for reproducing the executable from it. However, as a special exception, the materials to be distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. It may happen that this requirement contradicts the license restrictions of other proprietary libraries that do not normally accompany the operating system. Such a contradiction means you cannot use both them and the Library together in an executable that you distribute. 7. You may place library facilities that are a work based on the Library side-by-side in a single library together with other library facilities not covered by this License, and distribute such a combined library, provided that the separate distribution of the work based on the Library and of the other library facilities is otherwise permitted, and provided that you do these two things: a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities. This must be distributed under the terms of the Sections above. b) Give prominent notice with the combined library of the fact that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work. 8. You may not copy, modify, sublicense, link with, or distribute the Library except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense, link with, or distribute the Library 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. 9. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Library or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Library (or any work based on the Library), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Library or works based on it. 10. Each time you redistribute the Library (or any work based on the Library), the recipient automatically receives a license from the original licensor to copy, distribute, link with or modify the Library subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties with this License. 11. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), 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 distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Library at all. For example, if a patent license would not permit royalty-free redistribution of the Library by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Library. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply, and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 12. If the distribution and/or use of the Library is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Library under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 13. The Free Software Foundation may publish revised and/or new versions of the Lesser 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 Library specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Library does not specify a license version number, you may choose any version ever published by the Free Software Foundation. 14. If you wish to incorporate parts of the Library into other free programs whose distribution conditions are incompatible with these, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY "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 LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE LIBRARY 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 LIBRARY (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 LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Libraries If you develop a new library, and you want it to be of the greatest possible use to the public, we recommend making it free software that everyone can redistribute and change. You can do so by permitting redistribution under these terms (or, alternatively, under the terms of the ordinary General Public License). To apply these terms, attach the following notices to the library. It is safest to attach them to the start of each source file to most effectively convey 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 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Also add information on how to contact you by electronic and paper mail. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the library, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the library `Frob' (a library for tweaking knobs) written by James Random Hacker. , 1 April 1990 Ty Coon, President of Vice That's all there is to it! aspell-0.60.7~20110707/Makefile.am000066400000000000000000000260411161413225000161360ustar00rootroot00000000000000AUTOMAKE_OPTIONS = foreign subdir-objects SUBDIRS = . po manual DIST_SUBDIRS = ${SUBDIRS} examples myspell lib5 # These are needed due to a bug in Automake pkgdatadir = @pkgdatadir@ pkglibdir = @pkglibdir@ filterdir = ${pkglibdir} optdir = ${pkgdatadir} localedir = ${datadir}/locale PERLPROG = @PERLPROG@ AM_CPPFLAGS = -I${srcdir}/gen -I${srcdir}/common \ -I${srcdir}/interfaces/cc/ -I${srcdir}/modules/speller/default/ SUFFIXES = .info noinst_DATA = EXTRA_DIST = config.rpath win32/Makefile win32/settings.h ######################################################################## # # libaspell and friends # lib_LTLIBRARIES = libaspell.la if PSPELL_COMPATIBILITY lib_LTLIBRARIES += libpspell.la endif libaspell_la_SOURCES =\ common/cache.cpp\ common/string.cpp\ common/getdata.cpp\ common/itemize.cpp\ common/file_util.cpp\ common/string_map.cpp\ common/string_list.cpp\ common/config.cpp\ common/version.cpp\ common/posib_err.cpp\ common/errors.cpp\ common/error.cpp\ common/fstream.cpp\ common/iostream.cpp\ common/info.cpp\ common/can_have_error.cpp\ common/convert.cpp\ common/tokenizer.cpp\ common/speller.cpp\ common/document_checker.cpp\ common/filter.cpp\ common/objstack.cpp \ common/strtonum.cpp\ common/gettext_init.cpp\ common/file_data_util.cpp\ modules/speller/default/readonly_ws.cpp\ modules/speller/default/suggest.cpp\ modules/speller/default/data.cpp\ modules/speller/default/multi_ws.cpp\ modules/speller/default/phonetic.cpp\ modules/speller/default/writable.cpp\ modules/speller/default/speller_impl.cpp\ modules/speller/default/phonet.cpp\ modules/speller/default/typo_editdist.cpp\ modules/speller/default/editdist.cpp\ modules/speller/default/primes.cpp\ modules/speller/default/language.cpp\ modules/speller/default/leditdist.cpp\ modules/speller/default/affix.cpp\ modules/tokenizer/basic.cpp\ lib/filter-c.cpp\ lib/word_list-c.cpp\ lib/info-c.cpp\ lib/mutable_container-c.cpp\ lib/error-c.cpp\ lib/document_checker-c.cpp\ lib/string_map-c.cpp\ lib/new_config.cpp\ lib/config-c.cpp\ lib/string_enumeration-c.cpp\ lib/can_have_error-c.cpp\ lib/dummy.cpp\ lib/new_filter.cpp\ lib/new_fmode.cpp\ lib/string_list-c.cpp\ lib/find_speller.cpp\ lib/speller-c.cpp\ lib/string_pair_enumeration-c.cpp\ lib/new_checker.cpp libaspell_la_LIBADD = $(LTLIBINTL) $(PTHREAD_LIB) ## Libtool to so name ## C:R:A => (C-A).(A).(R) ## 16:5:0 => 16.0.5 ## 16:5:1 => 15.1.5 ## 18:0:2 => 16.2.0 ## 17:0:2 => 15.2.0 if INCREMENTED_SONAME libaspell_la_LDFLAGS = -version-info 18:0:2 -no-undefined else ## Use C-1:R:A libaspell_la_LDFLAGS = -version-info 17:0:2 -no-undefined endif if PSPELL_COMPATIBILITY libpspell_la_SOURCES = lib/dummy.cpp libpspell_la_LIBADD = libaspell.la if INCREMENTED_SONAME libpspell_la_LDFLAGS = -version-info 18:0:2 -no-undefined else libpspell_la_LDFLAGS = -version-info 17:0:2 -no-undefined endif endif EXTRA_DIST += common/*.hpp common/*.h\ modules/speller/default/*.hpp\ lib/*.hpp ######################################################################## # # Aspell Program # AM_CPPFLAGS += -DLOCALEDIR="$(localedir)" bin_PROGRAMS = word-list-compress aspell prezip-bin word_list_compress_SOURCES = prog/compress.c aspell_SOURCES = prog/aspell.cpp prog/check_funs.cpp prog/checker_string.cpp aspell_LDADD = libaspell.la $(CURSES_LIB) prezip_bin_SOURCES = prog/prezip.c EXTRA_DIST += prog/*.hpp ######################################################################## # # Filter Modules # # This is for filters which are ALWAYS static. Currently only the # URL filter libaspell_la_SOURCES += modules/filter/url.cpp static_optfiles = modules/filter/url-filter.info dynamic_optfiles = ### ### To add a new filter follow the instruction that begin with '###' ### ### Add the .info file your filter comes with optfiles = \ modules/filter/email-filter.info\ modules/filter/tex-filter.info\ modules/filter/sgml-filter.info\ modules/filter/html-filter.info\ modules/filter/context-filter.info\ modules/filter/nroff-filter.info\ modules/filter/texinfo-filter.info ### Add all your aspell mode files ### fltfiles = \ modules/filter/modes/html.amf \ modules/filter/modes/sgml.amf \ modules/filter/modes/tex.amf \ modules/filter/modes/email.amf \ modules/filter/modes/ccpp.amf \ modules/filter/modes/none.amf \ modules/filter/modes/perl.amf \ modules/filter/modes/url.amf \ modules/filter/modes/comment.amf \ modules/filter/modes/nroff.amf\ modules/filter/modes/texinfo.amf if COMPILE_IN_FILTERS static_optfiles += ${optfiles} ### Add your filter sources here, ### starting with file containing filter class definition followed by ### file containing filter member implementation. libaspell_la_SOURCES +=\ modules/filter/email.cpp\ modules/filter/tex.cpp\ modules/filter/sgml.cpp\ modules/filter/context.cpp\ modules/filter/nroff.cpp\ modules/filter/texinfo.cpp else # not COMPILE_IN_FILTERS dynamic_optfiles += ${optfiles} filter_ldflags = -module -avoid-version ### Add name of filter library containing your filter. Name always ### must look like lib-filter.la see development manual filter_LTLIBRARIES = email-filter.la tex-filter.la\ sgml-filter.la context-filter.la\ nroff-filter.la texinfo-filter.la email_filter_la_SOURCES = modules/filter/email.cpp email_filter_la_LIBADD = libaspell.la email_filter_la_LDFLAGS = ${filter_ldflags} tex_filter_la_SOURCES = modules/filter/tex.cpp tex_filter_la_LIBADD = libaspell.la tex_filter_la_LDFLAGS = ${filter_ldflags} sgml_filter_la_SOURCES = modules/filter/sgml.cpp sgml_filter_la_LIBADD = libaspell.la sgml_filter_la_LDFLAGS = ${filter_ldflags} context_filter_la_SOURCES = modules/filter/context.cpp context_filter_la_LIBADD = libaspell.la context_filter_la_LDFLAGS = ${filter_ldflags} nroff_filter_la_SOURCES = modules/filter/nroff.cpp nroff_filter_la_LIBADD = libaspell.la nroff_filter_la_LDFLAGS = ${filter_ldflags} texinfo_filter_la_SOURCES = modules/filter/texinfo.cpp texinfo_filter_la_LIBADD = libaspell.la texinfo_filter_la_LDFLAGS = ${filter_ldflags} ### Before this line add the corresponding _SOURCES and ### _LIBADD lines. The later at least has to look ### like _LIBADD = ${top_builddir}/lib/libaspell.la ### in order to make your filter build properly endif # COMPILE_IN_FILTERS noinst_DATA += $(static_optfiles) gen/filter.pot opt_DATA = $(dynamic_optfiles) filter_DATA = $(fltfiles) # settings.h added as a dependency so it will get recreated if # the COMPILE_IN_FILTERS option changes gen/static_filters.src.cpp: ${static_optfiles} gen/mk-static-filter.pl gen/settings.h ${PERLPROG} gen/mk-static-filter.pl ${static_optfiles} lib/new_filter.cpp: gen/static_filters.src.cpp gen/filter.pot: gen/mk-filter-pot.pl ${static_optfiles} ${dynamic_optfiles} ${PERLPROG} gen/mk-filter-pot.pl EXTRA_DIST += ${static_optfiles} ${dynamic_optfiles} ${fltfiles} \ gen/mk-static-filter.pl gen/mk-filter-pot.pl\ gen/filter.pot CLEANFILES = gen/static_filters.src.cpp ######################################################################## # # Mk Dirs Target # common/config.cpp: gen/dirs.h gen/dirs.h: gen/mk-dirs_h.pl cd gen; perl mk-dirs_h.pl ${prefix} ${pkgdatadir} ${pkglibdir} ${sysconfdir} > dirs.h EXTRA_DIST += gen/mk-dirs_h.pl CLEANFILES += gen/dirs.h ######################################################################## # # Scripts # bin_SCRIPTS = scripts/run-with-aspell scripts/aspell-import \ scripts/prezip scripts/preunzip scripts/precat pkgdata_SCRIPTS = scripts/spell scripts/ispell scripts/run-with-aspell: scripts/run-with-aspell.create sh ${srcdir}/scripts/run-with-aspell.create ${pkgdatadir} > scripts/run-with-aspell chmod 755 scripts/run-with-aspell if PSPELL_COMPATIBILITY bin_SCRIPTS += scripts/pspell-config scripts/pspell-config: scripts/mkconfig sh ${srcdir}/scripts/mkconfig ${VERSION} ${datadir} ${pkgdatadir} CLEANFILES += scripts/pspell-config endif CLEANFILES += scripts/run-with-aspell EXTRA_DIST += scripts/mkconfig scripts/spell scripts/ispell \ scripts/run-with-aspell.create scripts/aspell-import\ scripts/prezip scripts/preunzip scripts/precat ######################################################################## # # auto # # FIXME: add dependences noinst_DATA += auto mksrc = \ auto/mk-src.in auto/mk-src.pl auto/mk-doc.pl\ auto/MkSrc/CcHelper.pm auto/MkSrc/Methods.pm\ auto/MkSrc/ProcImpl.pm auto/MkSrc/Read.pm\ auto/MkSrc/Create.pm auto/MkSrc/ProcCc.pm\ auto/MkSrc/ProcNativeImpl.pm auto/MkSrc/Type.pm\ auto/MkSrc/Info.pm auto/MkSrc/ProcCxx.pm\ auto/MkSrc/ProcNative.pm auto/MkSrc/Util.pm #auto: @MAINTAINER_MODE_TRUE@ ${mksrc} # cd auto; perl mk-src.pl # cd auto; perl auto/mk-doc.pl # touch auto/auto EXTRA_DIST += auto/auto auto/mk-src.txt ${mksrc} ######################################################################## # # interfaces # include_HEADERS = interfaces/cc/aspell.h if PSPELL_COMPATIBILITY pspell_includedir = ${includedir}/pspell pspell_include_HEADERS = interfaces/cc/pspell.h endif ######################################################################## # # Misc Top level # pkgdata_DATA = \ data/cp1250.cmap data/cp1250.cset \ data/cp1251.cmap data/cp1251.cset \ data/cp1252.cmap data/cp1252.cset \ data/cp1253.cmap data/cp1253.cset \ data/cp1254.cmap data/cp1254.cset \ data/cp1255.cmap data/cp1255.cset \ data/cp1256.cmap data/cp1256.cset \ data/cp1257.cmap data/cp1257.cset \ data/cp1258.cmap data/cp1258.cset \ data/iso-8859-1.cmap data/iso-8859-1.cset \ data/iso-8859-2.cmap data/iso-8859-2.cset \ data/iso-8859-3.cmap data/iso-8859-3.cset \ data/iso-8859-4.cmap data/iso-8859-4.cset \ data/iso-8859-5.cmap data/iso-8859-5.cset \ data/iso-8859-6.cmap data/iso-8859-6.cset \ data/iso-8859-7.cmap data/iso-8859-7.cset \ data/iso-8859-8.cmap data/iso-8859-8.cset \ data/iso-8859-9.cmap data/iso-8859-9.cset \ data/iso-8859-10.cmap data/iso-8859-10.cset \ data/iso-8859-11.cmap data/iso-8859-11.cset \ data/iso-8859-13.cmap data/iso-8859-13.cset \ data/iso-8859-14.cmap data/iso-8859-14.cset \ data/iso-8859-15.cmap data/iso-8859-15.cset \ data/iso-8859-16.cmap data/iso-8859-16.cset \ data/koi8-r.cmap data/koi8-r.cset \ data/koi8-u.cmap data/koi8-u.cset \ data/dvorak.kbd data/split.kbd data/standard.kbd EXTRA_DIST += config.rpath README ${pkgdata_DATA} m4/*.m4 \ misc/po-filter.c README: manual/readme.texi makeinfo --no-validate --no-headers $< > README maintainer-clean-local: @find . \( -name '*.?pp' -o -name '*.h' -o -name '*.info' \) -print |\ xargs grep -l "Automatically generated file." |\ xargs rm dist-hook: mkdir $(distdir)/maintainer cp autogen config-opt config-debug TODO FIXMEs README-CVS \ $(distdir)/maintainer ACLOCAL_AMFLAGS = -I m4 .PHONY: .manual fake-manual .manual: $(MAKE) -C manual manual manual: .manual $(MAKE) -C manual manual fake-manual: $(MAKE) -C manual fake-manual aspell-0.60.7~20110707/Makefile.in000066400000000000000000002362551161413225000161610ustar00rootroot00000000000000# Makefile.in generated by automake 1.10.3 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@ pkgincludedir = $(includedir)/@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@ @PSPELL_COMPATIBILITY_TRUE@am__append_1 = libpspell.la bin_PROGRAMS = word-list-compress$(EXEEXT) aspell$(EXEEXT) \ prezip-bin$(EXEEXT) @COMPILE_IN_FILTERS_TRUE@am__append_2 = ${optfiles} ### Add your filter sources here, ### starting with file containing filter class definition followed by ### file containing filter member implementation. @COMPILE_IN_FILTERS_TRUE@am__append_3 = \ @COMPILE_IN_FILTERS_TRUE@ modules/filter/email.cpp\ @COMPILE_IN_FILTERS_TRUE@ modules/filter/tex.cpp\ @COMPILE_IN_FILTERS_TRUE@ modules/filter/sgml.cpp\ @COMPILE_IN_FILTERS_TRUE@ modules/filter/context.cpp\ @COMPILE_IN_FILTERS_TRUE@ modules/filter/nroff.cpp\ @COMPILE_IN_FILTERS_TRUE@ modules/filter/texinfo.cpp @COMPILE_IN_FILTERS_FALSE@am__append_4 = ${optfiles} @PSPELL_COMPATIBILITY_TRUE@am__append_5 = scripts/pspell-config @PSPELL_COMPATIBILITY_TRUE@am__append_6 = scripts/pspell-config subdir = . DIST_COMMON = README $(am__configure_deps) \ $(am__pspell_include_HEADERS_DIST) $(include_HEADERS) \ $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ $(top_srcdir)/auto/Makefile.in \ $(top_srcdir)/common/Makefile.in $(top_srcdir)/configure \ $(top_srcdir)/data/Makefile.in $(top_srcdir)/gen/Makefile.in \ $(top_srcdir)/gen/settings.h.in \ $(top_srcdir)/interfaces/Makefile.in \ $(top_srcdir)/interfaces/cc/Makefile.in \ $(top_srcdir)/lib/Makefile.in $(top_srcdir)/m4/Makefile.in \ $(top_srcdir)/modules/Makefile.in \ $(top_srcdir)/modules/filter/Makefile.in \ $(top_srcdir)/modules/speller/Makefile.in \ $(top_srcdir)/modules/speller/default/Makefile.in \ $(top_srcdir)/modules/tokenizer/Makefile.in \ $(top_srcdir)/prog/Makefile.in \ $(top_srcdir)/scripts/Makefile.in ABOUT-NLS COPYING TODO \ compile config.guess config.rpath config.sub depcomp \ install-sh ltmain.sh missing ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/codeset.m4 \ $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \ $(top_srcdir)/m4/progtest.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 = $(top_builddir)/gen/settings.h CONFIG_CLEAN_FILES = gen/Makefile common/Makefile lib/Makefile \ data/Makefile auto/Makefile modules/Makefile \ modules/tokenizer/Makefile modules/speller/Makefile \ modules/speller/default/Makefile interfaces/Makefile \ interfaces/cc/Makefile scripts/Makefile prog/Makefile \ m4/Makefile modules/filter/Makefile 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 = `echo $$p | sed -e 's|^.*/||'`; am__installdirs = "$(DESTDIR)$(filterdir)" "$(DESTDIR)$(libdir)" \ "$(DESTDIR)$(bindir)" "$(DESTDIR)$(bindir)" \ "$(DESTDIR)$(pkgdatadir)" "$(DESTDIR)$(filterdir)" \ "$(DESTDIR)$(optdir)" "$(DESTDIR)$(pkgdatadir)" \ "$(DESTDIR)$(includedir)" "$(DESTDIR)$(pspell_includedir)" filterLTLIBRARIES_INSTALL = $(INSTALL) libLTLIBRARIES_INSTALL = $(INSTALL) LTLIBRARIES = $(filter_LTLIBRARIES) $(lib_LTLIBRARIES) @COMPILE_IN_FILTERS_FALSE@context_filter_la_DEPENDENCIES = \ @COMPILE_IN_FILTERS_FALSE@ libaspell.la am__context_filter_la_SOURCES_DIST = modules/filter/context.cpp am__dirstamp = $(am__leading_dot)dirstamp @COMPILE_IN_FILTERS_FALSE@am_context_filter_la_OBJECTS = \ @COMPILE_IN_FILTERS_FALSE@ modules/filter/context.lo context_filter_la_OBJECTS = $(am_context_filter_la_OBJECTS) context_filter_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ $(CXXFLAGS) $(context_filter_la_LDFLAGS) $(LDFLAGS) -o $@ @COMPILE_IN_FILTERS_FALSE@am_context_filter_la_rpath = -rpath \ @COMPILE_IN_FILTERS_FALSE@ $(filterdir) @COMPILE_IN_FILTERS_FALSE@email_filter_la_DEPENDENCIES = libaspell.la am__email_filter_la_SOURCES_DIST = modules/filter/email.cpp @COMPILE_IN_FILTERS_FALSE@am_email_filter_la_OBJECTS = \ @COMPILE_IN_FILTERS_FALSE@ modules/filter/email.lo email_filter_la_OBJECTS = $(am_email_filter_la_OBJECTS) email_filter_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ $(CXXFLAGS) $(email_filter_la_LDFLAGS) $(LDFLAGS) -o $@ @COMPILE_IN_FILTERS_FALSE@am_email_filter_la_rpath = -rpath \ @COMPILE_IN_FILTERS_FALSE@ $(filterdir) am__DEPENDENCIES_1 = libaspell_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) am__libaspell_la_SOURCES_DIST = common/cache.cpp common/string.cpp \ common/getdata.cpp common/itemize.cpp common/file_util.cpp \ common/string_map.cpp common/string_list.cpp common/config.cpp \ common/version.cpp common/posib_err.cpp common/errors.cpp \ common/error.cpp common/fstream.cpp common/iostream.cpp \ common/info.cpp common/can_have_error.cpp common/convert.cpp \ common/tokenizer.cpp common/speller.cpp \ common/document_checker.cpp common/filter.cpp \ common/objstack.cpp common/strtonum.cpp \ common/gettext_init.cpp common/file_data_util.cpp \ modules/speller/default/readonly_ws.cpp \ modules/speller/default/suggest.cpp \ modules/speller/default/data.cpp \ modules/speller/default/multi_ws.cpp \ modules/speller/default/phonetic.cpp \ modules/speller/default/writable.cpp \ modules/speller/default/speller_impl.cpp \ modules/speller/default/phonet.cpp \ modules/speller/default/typo_editdist.cpp \ modules/speller/default/editdist.cpp \ modules/speller/default/primes.cpp \ modules/speller/default/language.cpp \ modules/speller/default/leditdist.cpp \ modules/speller/default/affix.cpp modules/tokenizer/basic.cpp \ lib/filter-c.cpp lib/word_list-c.cpp lib/info-c.cpp \ lib/mutable_container-c.cpp lib/error-c.cpp \ lib/document_checker-c.cpp lib/string_map-c.cpp \ lib/new_config.cpp lib/config-c.cpp \ lib/string_enumeration-c.cpp lib/can_have_error-c.cpp \ lib/dummy.cpp lib/new_filter.cpp lib/new_fmode.cpp \ lib/string_list-c.cpp lib/find_speller.cpp lib/speller-c.cpp \ lib/string_pair_enumeration-c.cpp lib/new_checker.cpp \ modules/filter/url.cpp modules/filter/email.cpp \ modules/filter/tex.cpp modules/filter/sgml.cpp \ modules/filter/context.cpp modules/filter/nroff.cpp \ modules/filter/texinfo.cpp @COMPILE_IN_FILTERS_TRUE@am__objects_1 = modules/filter/email.lo \ @COMPILE_IN_FILTERS_TRUE@ modules/filter/tex.lo \ @COMPILE_IN_FILTERS_TRUE@ modules/filter/sgml.lo \ @COMPILE_IN_FILTERS_TRUE@ modules/filter/context.lo \ @COMPILE_IN_FILTERS_TRUE@ modules/filter/nroff.lo \ @COMPILE_IN_FILTERS_TRUE@ modules/filter/texinfo.lo am_libaspell_la_OBJECTS = common/cache.lo common/string.lo \ common/getdata.lo common/itemize.lo common/file_util.lo \ common/string_map.lo common/string_list.lo common/config.lo \ common/version.lo common/posib_err.lo common/errors.lo \ common/error.lo common/fstream.lo common/iostream.lo \ common/info.lo common/can_have_error.lo common/convert.lo \ common/tokenizer.lo common/speller.lo \ common/document_checker.lo common/filter.lo common/objstack.lo \ common/strtonum.lo common/gettext_init.lo \ common/file_data_util.lo \ modules/speller/default/readonly_ws.lo \ modules/speller/default/suggest.lo \ modules/speller/default/data.lo \ modules/speller/default/multi_ws.lo \ modules/speller/default/phonetic.lo \ modules/speller/default/writable.lo \ modules/speller/default/speller_impl.lo \ modules/speller/default/phonet.lo \ modules/speller/default/typo_editdist.lo \ modules/speller/default/editdist.lo \ modules/speller/default/primes.lo \ modules/speller/default/language.lo \ modules/speller/default/leditdist.lo \ modules/speller/default/affix.lo modules/tokenizer/basic.lo \ lib/filter-c.lo lib/word_list-c.lo lib/info-c.lo \ lib/mutable_container-c.lo lib/error-c.lo \ lib/document_checker-c.lo lib/string_map-c.lo \ lib/new_config.lo lib/config-c.lo lib/string_enumeration-c.lo \ lib/can_have_error-c.lo lib/dummy.lo lib/new_filter.lo \ lib/new_fmode.lo lib/string_list-c.lo lib/find_speller.lo \ lib/speller-c.lo lib/string_pair_enumeration-c.lo \ lib/new_checker.lo modules/filter/url.lo $(am__objects_1) libaspell_la_OBJECTS = $(am_libaspell_la_OBJECTS) libaspell_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ $(CXXFLAGS) $(libaspell_la_LDFLAGS) $(LDFLAGS) -o $@ @PSPELL_COMPATIBILITY_TRUE@libpspell_la_DEPENDENCIES = libaspell.la am__libpspell_la_SOURCES_DIST = lib/dummy.cpp @PSPELL_COMPATIBILITY_TRUE@am_libpspell_la_OBJECTS = lib/dummy.lo libpspell_la_OBJECTS = $(am_libpspell_la_OBJECTS) libpspell_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ $(CXXFLAGS) $(libpspell_la_LDFLAGS) $(LDFLAGS) -o $@ @PSPELL_COMPATIBILITY_TRUE@am_libpspell_la_rpath = -rpath $(libdir) @COMPILE_IN_FILTERS_FALSE@nroff_filter_la_DEPENDENCIES = libaspell.la am__nroff_filter_la_SOURCES_DIST = modules/filter/nroff.cpp @COMPILE_IN_FILTERS_FALSE@am_nroff_filter_la_OBJECTS = \ @COMPILE_IN_FILTERS_FALSE@ modules/filter/nroff.lo nroff_filter_la_OBJECTS = $(am_nroff_filter_la_OBJECTS) nroff_filter_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ $(CXXFLAGS) $(nroff_filter_la_LDFLAGS) $(LDFLAGS) -o $@ @COMPILE_IN_FILTERS_FALSE@am_nroff_filter_la_rpath = -rpath \ @COMPILE_IN_FILTERS_FALSE@ $(filterdir) @COMPILE_IN_FILTERS_FALSE@sgml_filter_la_DEPENDENCIES = libaspell.la am__sgml_filter_la_SOURCES_DIST = modules/filter/sgml.cpp @COMPILE_IN_FILTERS_FALSE@am_sgml_filter_la_OBJECTS = \ @COMPILE_IN_FILTERS_FALSE@ modules/filter/sgml.lo sgml_filter_la_OBJECTS = $(am_sgml_filter_la_OBJECTS) sgml_filter_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ $(CXXFLAGS) $(sgml_filter_la_LDFLAGS) $(LDFLAGS) -o $@ @COMPILE_IN_FILTERS_FALSE@am_sgml_filter_la_rpath = -rpath \ @COMPILE_IN_FILTERS_FALSE@ $(filterdir) @COMPILE_IN_FILTERS_FALSE@tex_filter_la_DEPENDENCIES = libaspell.la am__tex_filter_la_SOURCES_DIST = modules/filter/tex.cpp @COMPILE_IN_FILTERS_FALSE@am_tex_filter_la_OBJECTS = \ @COMPILE_IN_FILTERS_FALSE@ modules/filter/tex.lo tex_filter_la_OBJECTS = $(am_tex_filter_la_OBJECTS) tex_filter_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ $(CXXFLAGS) $(tex_filter_la_LDFLAGS) $(LDFLAGS) -o $@ @COMPILE_IN_FILTERS_FALSE@am_tex_filter_la_rpath = -rpath $(filterdir) @COMPILE_IN_FILTERS_FALSE@texinfo_filter_la_DEPENDENCIES = \ @COMPILE_IN_FILTERS_FALSE@ libaspell.la am__texinfo_filter_la_SOURCES_DIST = modules/filter/texinfo.cpp @COMPILE_IN_FILTERS_FALSE@am_texinfo_filter_la_OBJECTS = \ @COMPILE_IN_FILTERS_FALSE@ modules/filter/texinfo.lo texinfo_filter_la_OBJECTS = $(am_texinfo_filter_la_OBJECTS) texinfo_filter_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ $(CXXFLAGS) $(texinfo_filter_la_LDFLAGS) $(LDFLAGS) -o $@ @COMPILE_IN_FILTERS_FALSE@am_texinfo_filter_la_rpath = -rpath \ @COMPILE_IN_FILTERS_FALSE@ $(filterdir) binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) PROGRAMS = $(bin_PROGRAMS) am_aspell_OBJECTS = prog/aspell.$(OBJEXT) prog/check_funs.$(OBJEXT) \ prog/checker_string.$(OBJEXT) aspell_OBJECTS = $(am_aspell_OBJECTS) aspell_DEPENDENCIES = libaspell.la $(am__DEPENDENCIES_1) am_prezip_bin_OBJECTS = prog/prezip.$(OBJEXT) prezip_bin_OBJECTS = $(am_prezip_bin_OBJECTS) prezip_bin_LDADD = $(LDADD) am_word_list_compress_OBJECTS = prog/compress.$(OBJEXT) word_list_compress_OBJECTS = $(am_word_list_compress_OBJECTS) word_list_compress_LDADD = $(LDADD) binSCRIPT_INSTALL = $(INSTALL_SCRIPT) pkgdataSCRIPT_INSTALL = $(INSTALL_SCRIPT) SCRIPTS = $(bin_SCRIPTS) $(pkgdata_SCRIPTS) DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/gen depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) CXXLD = $(CXX) CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ SOURCES = $(context_filter_la_SOURCES) $(email_filter_la_SOURCES) \ $(libaspell_la_SOURCES) $(libpspell_la_SOURCES) \ $(nroff_filter_la_SOURCES) $(sgml_filter_la_SOURCES) \ $(tex_filter_la_SOURCES) $(texinfo_filter_la_SOURCES) \ $(aspell_SOURCES) $(prezip_bin_SOURCES) \ $(word_list_compress_SOURCES) DIST_SOURCES = $(am__context_filter_la_SOURCES_DIST) \ $(am__email_filter_la_SOURCES_DIST) \ $(am__libaspell_la_SOURCES_DIST) \ $(am__libpspell_la_SOURCES_DIST) \ $(am__nroff_filter_la_SOURCES_DIST) \ $(am__sgml_filter_la_SOURCES_DIST) \ $(am__tex_filter_la_SOURCES_DIST) \ $(am__texinfo_filter_la_SOURCES_DIST) $(aspell_SOURCES) \ $(prezip_bin_SOURCES) $(word_list_compress_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 filterDATA_INSTALL = $(INSTALL_DATA) optDATA_INSTALL = $(INSTALL_DATA) pkgdataDATA_INSTALL = $(INSTALL_DATA) DATA = $(filter_DATA) $(noinst_DATA) $(opt_DATA) $(pkgdata_DATA) includeHEADERS_INSTALL = $(INSTALL_HEADER) am__pspell_include_HEADERS_DIST = interfaces/cc/pspell.h pspell_includeHEADERS_INSTALL = $(INSTALL_HEADER) HEADERS = $(include_HEADERS) $(pspell_include_HEADERS) RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive ETAGS = etags CTAGS = ctags 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); }; } DIST_ARCHIVES = $(distdir).tar.gz GZIP_ENV = --best distuninstallcheck_listfiles = find . -type f -print distcleancheck_listfiles = find . -type f -print # These are needed due to a bug in Automake pkgdatadir = @pkgdatadir@ pkglibdir = @pkglibdir@ ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CURSES_INCLUDE = @CURSES_INCLUDE@ CURSES_LIB = @CURSES_LIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ 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@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERLPROG = @PERLPROG@ POSUB = @POSUB@ PTHREAD_LIB = @PTHREAD_LIB@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ 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_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ 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@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = ${datadir}/locale localstatedir = @localstatedir@ lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ pkgdocdir = @pkgdocdir@ 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_builddir = @top_builddir@ top_srcdir = @top_srcdir@ AUTOMAKE_OPTIONS = foreign subdir-objects SUBDIRS = . po manual DIST_SUBDIRS = ${SUBDIRS} examples myspell lib5 filterdir = ${pkglibdir} optdir = ${pkgdatadir} ######################################################################## # # Aspell Program # AM_CPPFLAGS = -I${srcdir}/gen -I${srcdir}/common \ -I${srcdir}/interfaces/cc/ \ -I${srcdir}/modules/speller/default/ \ -DLOCALEDIR="$(localedir)" SUFFIXES = .info ### Before this line add the corresponding _SOURCES and ### _LIBADD lines. The later at least has to look ### like _LIBADD = ${top_builddir}/lib/libaspell.la ### in order to make your filter build properly ######################################################################## # # auto # # FIXME: add dependences noinst_DATA = $(static_optfiles) gen/filter.pot auto #auto: @MAINTAINER_MODE_TRUE@ ${mksrc} # cd auto; perl mk-src.pl # cd auto; perl auto/mk-doc.pl # touch auto/auto EXTRA_DIST = config.rpath win32/Makefile win32/settings.h common/*.hpp \ common/*.h modules/speller/default/*.hpp lib/*.hpp prog/*.hpp \ ${static_optfiles} ${dynamic_optfiles} ${fltfiles} \ gen/mk-static-filter.pl gen/mk-filter-pot.pl gen/filter.pot \ gen/mk-dirs_h.pl scripts/mkconfig scripts/spell scripts/ispell \ scripts/run-with-aspell.create scripts/aspell-import \ scripts/prezip scripts/preunzip scripts/precat auto/auto \ auto/mk-src.txt ${mksrc} config.rpath README ${pkgdata_DATA} \ m4/*.m4 misc/po-filter.c ######################################################################## # # libaspell and friends # lib_LTLIBRARIES = libaspell.la $(am__append_1) ######################################################################## # # Filter Modules # # This is for filters which are ALWAYS static. Currently only the # URL filter libaspell_la_SOURCES = common/cache.cpp common/string.cpp \ common/getdata.cpp common/itemize.cpp common/file_util.cpp \ common/string_map.cpp common/string_list.cpp common/config.cpp \ common/version.cpp common/posib_err.cpp common/errors.cpp \ common/error.cpp common/fstream.cpp common/iostream.cpp \ common/info.cpp common/can_have_error.cpp common/convert.cpp \ common/tokenizer.cpp common/speller.cpp \ common/document_checker.cpp common/filter.cpp \ common/objstack.cpp common/strtonum.cpp \ common/gettext_init.cpp common/file_data_util.cpp \ modules/speller/default/readonly_ws.cpp \ modules/speller/default/suggest.cpp \ modules/speller/default/data.cpp \ modules/speller/default/multi_ws.cpp \ modules/speller/default/phonetic.cpp \ modules/speller/default/writable.cpp \ modules/speller/default/speller_impl.cpp \ modules/speller/default/phonet.cpp \ modules/speller/default/typo_editdist.cpp \ modules/speller/default/editdist.cpp \ modules/speller/default/primes.cpp \ modules/speller/default/language.cpp \ modules/speller/default/leditdist.cpp \ modules/speller/default/affix.cpp modules/tokenizer/basic.cpp \ lib/filter-c.cpp lib/word_list-c.cpp lib/info-c.cpp \ lib/mutable_container-c.cpp lib/error-c.cpp \ lib/document_checker-c.cpp lib/string_map-c.cpp \ lib/new_config.cpp lib/config-c.cpp \ lib/string_enumeration-c.cpp lib/can_have_error-c.cpp \ lib/dummy.cpp lib/new_filter.cpp lib/new_fmode.cpp \ lib/string_list-c.cpp lib/find_speller.cpp lib/speller-c.cpp \ lib/string_pair_enumeration-c.cpp lib/new_checker.cpp \ modules/filter/url.cpp $(am__append_3) libaspell_la_LIBADD = $(LTLIBINTL) $(PTHREAD_LIB) @INCREMENTED_SONAME_FALSE@libaspell_la_LDFLAGS = -version-info 17:0:2 -no-undefined @INCREMENTED_SONAME_TRUE@libaspell_la_LDFLAGS = -version-info 18:0:2 -no-undefined @PSPELL_COMPATIBILITY_TRUE@libpspell_la_SOURCES = lib/dummy.cpp @PSPELL_COMPATIBILITY_TRUE@libpspell_la_LIBADD = libaspell.la @INCREMENTED_SONAME_FALSE@@PSPELL_COMPATIBILITY_TRUE@libpspell_la_LDFLAGS = -version-info 17:0:2 -no-undefined @INCREMENTED_SONAME_TRUE@@PSPELL_COMPATIBILITY_TRUE@libpspell_la_LDFLAGS = -version-info 18:0:2 -no-undefined word_list_compress_SOURCES = prog/compress.c aspell_SOURCES = prog/aspell.cpp prog/check_funs.cpp prog/checker_string.cpp aspell_LDADD = libaspell.la $(CURSES_LIB) prezip_bin_SOURCES = prog/prezip.c static_optfiles = modules/filter/url-filter.info $(am__append_2) dynamic_optfiles = $(am__append_4) ### ### To add a new filter follow the instruction that begin with '###' ### ### Add the .info file your filter comes with optfiles = \ modules/filter/email-filter.info\ modules/filter/tex-filter.info\ modules/filter/sgml-filter.info\ modules/filter/html-filter.info\ modules/filter/context-filter.info\ modules/filter/nroff-filter.info\ modules/filter/texinfo-filter.info ### Add all your aspell mode files ### fltfiles = \ modules/filter/modes/html.amf \ modules/filter/modes/sgml.amf \ modules/filter/modes/tex.amf \ modules/filter/modes/email.amf \ modules/filter/modes/ccpp.amf \ modules/filter/modes/none.amf \ modules/filter/modes/perl.amf \ modules/filter/modes/url.amf \ modules/filter/modes/comment.amf \ modules/filter/modes/nroff.amf\ modules/filter/modes/texinfo.amf @COMPILE_IN_FILTERS_FALSE@filter_ldflags = -module -avoid-version ### Add name of filter library containing your filter. Name always ### must look like lib-filter.la see development manual @COMPILE_IN_FILTERS_FALSE@filter_LTLIBRARIES = email-filter.la tex-filter.la\ @COMPILE_IN_FILTERS_FALSE@ sgml-filter.la context-filter.la\ @COMPILE_IN_FILTERS_FALSE@ nroff-filter.la texinfo-filter.la @COMPILE_IN_FILTERS_FALSE@email_filter_la_SOURCES = modules/filter/email.cpp @COMPILE_IN_FILTERS_FALSE@email_filter_la_LIBADD = libaspell.la @COMPILE_IN_FILTERS_FALSE@email_filter_la_LDFLAGS = ${filter_ldflags} @COMPILE_IN_FILTERS_FALSE@tex_filter_la_SOURCES = modules/filter/tex.cpp @COMPILE_IN_FILTERS_FALSE@tex_filter_la_LIBADD = libaspell.la @COMPILE_IN_FILTERS_FALSE@tex_filter_la_LDFLAGS = ${filter_ldflags} @COMPILE_IN_FILTERS_FALSE@sgml_filter_la_SOURCES = modules/filter/sgml.cpp @COMPILE_IN_FILTERS_FALSE@sgml_filter_la_LIBADD = libaspell.la @COMPILE_IN_FILTERS_FALSE@sgml_filter_la_LDFLAGS = ${filter_ldflags} @COMPILE_IN_FILTERS_FALSE@context_filter_la_SOURCES = modules/filter/context.cpp @COMPILE_IN_FILTERS_FALSE@context_filter_la_LIBADD = libaspell.la @COMPILE_IN_FILTERS_FALSE@context_filter_la_LDFLAGS = ${filter_ldflags} @COMPILE_IN_FILTERS_FALSE@nroff_filter_la_SOURCES = modules/filter/nroff.cpp @COMPILE_IN_FILTERS_FALSE@nroff_filter_la_LIBADD = libaspell.la @COMPILE_IN_FILTERS_FALSE@nroff_filter_la_LDFLAGS = ${filter_ldflags} @COMPILE_IN_FILTERS_FALSE@texinfo_filter_la_SOURCES = modules/filter/texinfo.cpp @COMPILE_IN_FILTERS_FALSE@texinfo_filter_la_LIBADD = libaspell.la @COMPILE_IN_FILTERS_FALSE@texinfo_filter_la_LDFLAGS = ${filter_ldflags} opt_DATA = $(dynamic_optfiles) filter_DATA = $(fltfiles) CLEANFILES = gen/static_filters.src.cpp gen/dirs.h $(am__append_6) \ scripts/run-with-aspell ######################################################################## # # Scripts # bin_SCRIPTS = scripts/run-with-aspell scripts/aspell-import \ scripts/prezip scripts/preunzip scripts/precat $(am__append_5) pkgdata_SCRIPTS = scripts/spell scripts/ispell mksrc = \ auto/mk-src.in auto/mk-src.pl auto/mk-doc.pl\ auto/MkSrc/CcHelper.pm auto/MkSrc/Methods.pm\ auto/MkSrc/ProcImpl.pm auto/MkSrc/Read.pm\ auto/MkSrc/Create.pm auto/MkSrc/ProcCc.pm\ auto/MkSrc/ProcNativeImpl.pm auto/MkSrc/Type.pm\ auto/MkSrc/Info.pm auto/MkSrc/ProcCxx.pm\ auto/MkSrc/ProcNative.pm auto/MkSrc/Util.pm ######################################################################## # # interfaces # include_HEADERS = interfaces/cc/aspell.h @PSPELL_COMPATIBILITY_TRUE@pspell_includedir = ${includedir}/pspell @PSPELL_COMPATIBILITY_TRUE@pspell_include_HEADERS = interfaces/cc/pspell.h ######################################################################## # # Misc Top level # pkgdata_DATA = \ data/cp1250.cmap data/cp1250.cset \ data/cp1251.cmap data/cp1251.cset \ data/cp1252.cmap data/cp1252.cset \ data/cp1253.cmap data/cp1253.cset \ data/cp1254.cmap data/cp1254.cset \ data/cp1255.cmap data/cp1255.cset \ data/cp1256.cmap data/cp1256.cset \ data/cp1257.cmap data/cp1257.cset \ data/cp1258.cmap data/cp1258.cset \ data/iso-8859-1.cmap data/iso-8859-1.cset \ data/iso-8859-2.cmap data/iso-8859-2.cset \ data/iso-8859-3.cmap data/iso-8859-3.cset \ data/iso-8859-4.cmap data/iso-8859-4.cset \ data/iso-8859-5.cmap data/iso-8859-5.cset \ data/iso-8859-6.cmap data/iso-8859-6.cset \ data/iso-8859-7.cmap data/iso-8859-7.cset \ data/iso-8859-8.cmap data/iso-8859-8.cset \ data/iso-8859-9.cmap data/iso-8859-9.cset \ data/iso-8859-10.cmap data/iso-8859-10.cset \ data/iso-8859-11.cmap data/iso-8859-11.cset \ data/iso-8859-13.cmap data/iso-8859-13.cset \ data/iso-8859-14.cmap data/iso-8859-14.cset \ data/iso-8859-15.cmap data/iso-8859-15.cset \ data/iso-8859-16.cmap data/iso-8859-16.cset \ data/koi8-r.cmap data/koi8-r.cset \ data/koi8-u.cmap data/koi8-u.cset \ data/dvorak.kbd data/split.kbd data/standard.kbd ACLOCAL_AMFLAGS = -I m4 all: all-recursive .SUFFIXES: .SUFFIXES: .info .c .cpp .lo .o .obj am--refresh: @: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \ cd $(srcdir) && $(AUTOMAKE) --foreign \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign Makefile .PRECIOUS: 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: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(srcdir) && $(AUTOCONF) $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) gen/settings.h: gen/stamp-h1 @if test ! -f $@; then \ rm -f gen/stamp-h1; \ $(MAKE) $(AM_MAKEFLAGS) gen/stamp-h1; \ else :; fi gen/stamp-h1: $(top_srcdir)/gen/settings.h.in $(top_builddir)/config.status @rm -f gen/stamp-h1 cd $(top_builddir) && $(SHELL) ./config.status gen/settings.h $(top_srcdir)/gen/settings.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_srcdir) && $(AUTOHEADER) rm -f gen/stamp-h1 touch $@ distclean-hdr: -rm -f gen/settings.h gen/stamp-h1 gen/Makefile: $(top_builddir)/config.status $(top_srcdir)/gen/Makefile.in cd $(top_builddir) && $(SHELL) ./config.status $@ common/Makefile: $(top_builddir)/config.status $(top_srcdir)/common/Makefile.in cd $(top_builddir) && $(SHELL) ./config.status $@ lib/Makefile: $(top_builddir)/config.status $(top_srcdir)/lib/Makefile.in cd $(top_builddir) && $(SHELL) ./config.status $@ data/Makefile: $(top_builddir)/config.status $(top_srcdir)/data/Makefile.in cd $(top_builddir) && $(SHELL) ./config.status $@ auto/Makefile: $(top_builddir)/config.status $(top_srcdir)/auto/Makefile.in cd $(top_builddir) && $(SHELL) ./config.status $@ modules/Makefile: $(top_builddir)/config.status $(top_srcdir)/modules/Makefile.in cd $(top_builddir) && $(SHELL) ./config.status $@ modules/tokenizer/Makefile: $(top_builddir)/config.status $(top_srcdir)/modules/tokenizer/Makefile.in cd $(top_builddir) && $(SHELL) ./config.status $@ modules/speller/Makefile: $(top_builddir)/config.status $(top_srcdir)/modules/speller/Makefile.in cd $(top_builddir) && $(SHELL) ./config.status $@ modules/speller/default/Makefile: $(top_builddir)/config.status $(top_srcdir)/modules/speller/default/Makefile.in cd $(top_builddir) && $(SHELL) ./config.status $@ interfaces/Makefile: $(top_builddir)/config.status $(top_srcdir)/interfaces/Makefile.in cd $(top_builddir) && $(SHELL) ./config.status $@ interfaces/cc/Makefile: $(top_builddir)/config.status $(top_srcdir)/interfaces/cc/Makefile.in cd $(top_builddir) && $(SHELL) ./config.status $@ scripts/Makefile: $(top_builddir)/config.status $(top_srcdir)/scripts/Makefile.in cd $(top_builddir) && $(SHELL) ./config.status $@ prog/Makefile: $(top_builddir)/config.status $(top_srcdir)/prog/Makefile.in cd $(top_builddir) && $(SHELL) ./config.status $@ m4/Makefile: $(top_builddir)/config.status $(top_srcdir)/m4/Makefile.in cd $(top_builddir) && $(SHELL) ./config.status $@ modules/filter/Makefile: $(top_builddir)/config.status $(top_srcdir)/modules/filter/Makefile.in cd $(top_builddir) && $(SHELL) ./config.status $@ install-filterLTLIBRARIES: $(filter_LTLIBRARIES) @$(NORMAL_INSTALL) test -z "$(filterdir)" || $(MKDIR_P) "$(DESTDIR)$(filterdir)" @list='$(filter_LTLIBRARIES)'; for p in $$list; do \ if test -f $$p; then \ f=$(am__strip_dir) \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(filterLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(filterdir)/$$f'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(filterLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(filterdir)/$$f"; \ else :; fi; \ done uninstall-filterLTLIBRARIES: @$(NORMAL_UNINSTALL) @list='$(filter_LTLIBRARIES)'; for p in $$list; do \ p=$(am__strip_dir) \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(filterdir)/$$p'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(filterdir)/$$p"; \ done clean-filterLTLIBRARIES: -test -z "$(filter_LTLIBRARIES)" || rm -f $(filter_LTLIBRARIES) @list='$(filter_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 install-libLTLIBRARIES: $(lib_LTLIBRARIES) @$(NORMAL_INSTALL) test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)" @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ if test -f $$p; then \ f=$(am__strip_dir) \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ else :; fi; \ done uninstall-libLTLIBRARIES: @$(NORMAL_UNINSTALL) @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ p=$(am__strip_dir) \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \ done clean-libLTLIBRARIES: -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) @list='$(lib_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 modules/filter/$(am__dirstamp): @$(MKDIR_P) modules/filter @: > modules/filter/$(am__dirstamp) modules/filter/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) modules/filter/$(DEPDIR) @: > modules/filter/$(DEPDIR)/$(am__dirstamp) modules/filter/context.lo: modules/filter/$(am__dirstamp) \ modules/filter/$(DEPDIR)/$(am__dirstamp) context-filter.la: $(context_filter_la_OBJECTS) $(context_filter_la_DEPENDENCIES) $(context_filter_la_LINK) $(am_context_filter_la_rpath) $(context_filter_la_OBJECTS) $(context_filter_la_LIBADD) $(LIBS) modules/filter/email.lo: modules/filter/$(am__dirstamp) \ modules/filter/$(DEPDIR)/$(am__dirstamp) email-filter.la: $(email_filter_la_OBJECTS) $(email_filter_la_DEPENDENCIES) $(email_filter_la_LINK) $(am_email_filter_la_rpath) $(email_filter_la_OBJECTS) $(email_filter_la_LIBADD) $(LIBS) common/$(am__dirstamp): @$(MKDIR_P) common @: > common/$(am__dirstamp) common/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) common/$(DEPDIR) @: > common/$(DEPDIR)/$(am__dirstamp) common/cache.lo: common/$(am__dirstamp) \ common/$(DEPDIR)/$(am__dirstamp) common/string.lo: common/$(am__dirstamp) \ common/$(DEPDIR)/$(am__dirstamp) common/getdata.lo: common/$(am__dirstamp) \ common/$(DEPDIR)/$(am__dirstamp) common/itemize.lo: common/$(am__dirstamp) \ common/$(DEPDIR)/$(am__dirstamp) common/file_util.lo: common/$(am__dirstamp) \ common/$(DEPDIR)/$(am__dirstamp) common/string_map.lo: common/$(am__dirstamp) \ common/$(DEPDIR)/$(am__dirstamp) common/string_list.lo: common/$(am__dirstamp) \ common/$(DEPDIR)/$(am__dirstamp) common/config.lo: common/$(am__dirstamp) \ common/$(DEPDIR)/$(am__dirstamp) common/version.lo: common/$(am__dirstamp) \ common/$(DEPDIR)/$(am__dirstamp) common/posib_err.lo: common/$(am__dirstamp) \ common/$(DEPDIR)/$(am__dirstamp) common/errors.lo: common/$(am__dirstamp) \ common/$(DEPDIR)/$(am__dirstamp) common/error.lo: common/$(am__dirstamp) \ common/$(DEPDIR)/$(am__dirstamp) common/fstream.lo: common/$(am__dirstamp) \ common/$(DEPDIR)/$(am__dirstamp) common/iostream.lo: common/$(am__dirstamp) \ common/$(DEPDIR)/$(am__dirstamp) common/info.lo: common/$(am__dirstamp) \ common/$(DEPDIR)/$(am__dirstamp) common/can_have_error.lo: common/$(am__dirstamp) \ common/$(DEPDIR)/$(am__dirstamp) common/convert.lo: common/$(am__dirstamp) \ common/$(DEPDIR)/$(am__dirstamp) common/tokenizer.lo: common/$(am__dirstamp) \ common/$(DEPDIR)/$(am__dirstamp) common/speller.lo: common/$(am__dirstamp) \ common/$(DEPDIR)/$(am__dirstamp) common/document_checker.lo: common/$(am__dirstamp) \ common/$(DEPDIR)/$(am__dirstamp) common/filter.lo: common/$(am__dirstamp) \ common/$(DEPDIR)/$(am__dirstamp) common/objstack.lo: common/$(am__dirstamp) \ common/$(DEPDIR)/$(am__dirstamp) common/strtonum.lo: common/$(am__dirstamp) \ common/$(DEPDIR)/$(am__dirstamp) common/gettext_init.lo: common/$(am__dirstamp) \ common/$(DEPDIR)/$(am__dirstamp) common/file_data_util.lo: common/$(am__dirstamp) \ common/$(DEPDIR)/$(am__dirstamp) modules/speller/default/$(am__dirstamp): @$(MKDIR_P) modules/speller/default @: > modules/speller/default/$(am__dirstamp) modules/speller/default/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) modules/speller/default/$(DEPDIR) @: > modules/speller/default/$(DEPDIR)/$(am__dirstamp) modules/speller/default/readonly_ws.lo: \ modules/speller/default/$(am__dirstamp) \ modules/speller/default/$(DEPDIR)/$(am__dirstamp) modules/speller/default/suggest.lo: \ modules/speller/default/$(am__dirstamp) \ modules/speller/default/$(DEPDIR)/$(am__dirstamp) modules/speller/default/data.lo: \ modules/speller/default/$(am__dirstamp) \ modules/speller/default/$(DEPDIR)/$(am__dirstamp) modules/speller/default/multi_ws.lo: \ modules/speller/default/$(am__dirstamp) \ modules/speller/default/$(DEPDIR)/$(am__dirstamp) modules/speller/default/phonetic.lo: \ modules/speller/default/$(am__dirstamp) \ modules/speller/default/$(DEPDIR)/$(am__dirstamp) modules/speller/default/writable.lo: \ modules/speller/default/$(am__dirstamp) \ modules/speller/default/$(DEPDIR)/$(am__dirstamp) modules/speller/default/speller_impl.lo: \ modules/speller/default/$(am__dirstamp) \ modules/speller/default/$(DEPDIR)/$(am__dirstamp) modules/speller/default/phonet.lo: \ modules/speller/default/$(am__dirstamp) \ modules/speller/default/$(DEPDIR)/$(am__dirstamp) modules/speller/default/typo_editdist.lo: \ modules/speller/default/$(am__dirstamp) \ modules/speller/default/$(DEPDIR)/$(am__dirstamp) modules/speller/default/editdist.lo: \ modules/speller/default/$(am__dirstamp) \ modules/speller/default/$(DEPDIR)/$(am__dirstamp) modules/speller/default/primes.lo: \ modules/speller/default/$(am__dirstamp) \ modules/speller/default/$(DEPDIR)/$(am__dirstamp) modules/speller/default/language.lo: \ modules/speller/default/$(am__dirstamp) \ modules/speller/default/$(DEPDIR)/$(am__dirstamp) modules/speller/default/leditdist.lo: \ modules/speller/default/$(am__dirstamp) \ modules/speller/default/$(DEPDIR)/$(am__dirstamp) modules/speller/default/affix.lo: \ modules/speller/default/$(am__dirstamp) \ modules/speller/default/$(DEPDIR)/$(am__dirstamp) modules/tokenizer/$(am__dirstamp): @$(MKDIR_P) modules/tokenizer @: > modules/tokenizer/$(am__dirstamp) modules/tokenizer/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) modules/tokenizer/$(DEPDIR) @: > modules/tokenizer/$(DEPDIR)/$(am__dirstamp) modules/tokenizer/basic.lo: modules/tokenizer/$(am__dirstamp) \ modules/tokenizer/$(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/filter-c.lo: lib/$(am__dirstamp) lib/$(DEPDIR)/$(am__dirstamp) lib/word_list-c.lo: lib/$(am__dirstamp) lib/$(DEPDIR)/$(am__dirstamp) lib/info-c.lo: lib/$(am__dirstamp) lib/$(DEPDIR)/$(am__dirstamp) lib/mutable_container-c.lo: lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/error-c.lo: lib/$(am__dirstamp) lib/$(DEPDIR)/$(am__dirstamp) lib/document_checker-c.lo: lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/string_map-c.lo: lib/$(am__dirstamp) lib/$(DEPDIR)/$(am__dirstamp) lib/new_config.lo: lib/$(am__dirstamp) lib/$(DEPDIR)/$(am__dirstamp) lib/config-c.lo: lib/$(am__dirstamp) lib/$(DEPDIR)/$(am__dirstamp) lib/string_enumeration-c.lo: lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/can_have_error-c.lo: lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/dummy.lo: lib/$(am__dirstamp) lib/$(DEPDIR)/$(am__dirstamp) lib/new_filter.lo: lib/$(am__dirstamp) lib/$(DEPDIR)/$(am__dirstamp) lib/new_fmode.lo: lib/$(am__dirstamp) lib/$(DEPDIR)/$(am__dirstamp) lib/string_list-c.lo: lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/find_speller.lo: lib/$(am__dirstamp) lib/$(DEPDIR)/$(am__dirstamp) lib/speller-c.lo: lib/$(am__dirstamp) lib/$(DEPDIR)/$(am__dirstamp) lib/string_pair_enumeration-c.lo: lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/new_checker.lo: lib/$(am__dirstamp) lib/$(DEPDIR)/$(am__dirstamp) modules/filter/url.lo: modules/filter/$(am__dirstamp) \ modules/filter/$(DEPDIR)/$(am__dirstamp) modules/filter/tex.lo: modules/filter/$(am__dirstamp) \ modules/filter/$(DEPDIR)/$(am__dirstamp) modules/filter/sgml.lo: modules/filter/$(am__dirstamp) \ modules/filter/$(DEPDIR)/$(am__dirstamp) modules/filter/nroff.lo: modules/filter/$(am__dirstamp) \ modules/filter/$(DEPDIR)/$(am__dirstamp) modules/filter/texinfo.lo: modules/filter/$(am__dirstamp) \ modules/filter/$(DEPDIR)/$(am__dirstamp) libaspell.la: $(libaspell_la_OBJECTS) $(libaspell_la_DEPENDENCIES) $(libaspell_la_LINK) -rpath $(libdir) $(libaspell_la_OBJECTS) $(libaspell_la_LIBADD) $(LIBS) libpspell.la: $(libpspell_la_OBJECTS) $(libpspell_la_DEPENDENCIES) $(libpspell_la_LINK) $(am_libpspell_la_rpath) $(libpspell_la_OBJECTS) $(libpspell_la_LIBADD) $(LIBS) nroff-filter.la: $(nroff_filter_la_OBJECTS) $(nroff_filter_la_DEPENDENCIES) $(nroff_filter_la_LINK) $(am_nroff_filter_la_rpath) $(nroff_filter_la_OBJECTS) $(nroff_filter_la_LIBADD) $(LIBS) sgml-filter.la: $(sgml_filter_la_OBJECTS) $(sgml_filter_la_DEPENDENCIES) $(sgml_filter_la_LINK) $(am_sgml_filter_la_rpath) $(sgml_filter_la_OBJECTS) $(sgml_filter_la_LIBADD) $(LIBS) tex-filter.la: $(tex_filter_la_OBJECTS) $(tex_filter_la_DEPENDENCIES) $(tex_filter_la_LINK) $(am_tex_filter_la_rpath) $(tex_filter_la_OBJECTS) $(tex_filter_la_LIBADD) $(LIBS) texinfo-filter.la: $(texinfo_filter_la_OBJECTS) $(texinfo_filter_la_DEPENDENCIES) $(texinfo_filter_la_LINK) $(am_texinfo_filter_la_rpath) $(texinfo_filter_la_OBJECTS) $(texinfo_filter_la_LIBADD) $(LIBS) install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" @list='$(bin_PROGRAMS)'; for p in $$list; do \ p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ if test -f $$p \ || test -f $$p1 \ ; then \ f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \ else :; fi; \ done uninstall-binPROGRAMS: @$(NORMAL_UNINSTALL) @list='$(bin_PROGRAMS)'; for p in $$list; do \ f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ rm -f "$(DESTDIR)$(bindir)/$$f"; \ done clean-binPROGRAMS: @list='$(bin_PROGRAMS)'; for p in $$list; do \ f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ echo " rm -f $$p $$f"; \ rm -f $$p $$f ; \ done prog/$(am__dirstamp): @$(MKDIR_P) prog @: > prog/$(am__dirstamp) prog/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) prog/$(DEPDIR) @: > prog/$(DEPDIR)/$(am__dirstamp) prog/aspell.$(OBJEXT): prog/$(am__dirstamp) \ prog/$(DEPDIR)/$(am__dirstamp) prog/check_funs.$(OBJEXT): prog/$(am__dirstamp) \ prog/$(DEPDIR)/$(am__dirstamp) prog/checker_string.$(OBJEXT): prog/$(am__dirstamp) \ prog/$(DEPDIR)/$(am__dirstamp) aspell$(EXEEXT): $(aspell_OBJECTS) $(aspell_DEPENDENCIES) @rm -f aspell$(EXEEXT) $(CXXLINK) $(aspell_OBJECTS) $(aspell_LDADD) $(LIBS) prog/prezip.$(OBJEXT): prog/$(am__dirstamp) \ prog/$(DEPDIR)/$(am__dirstamp) prezip-bin$(EXEEXT): $(prezip_bin_OBJECTS) $(prezip_bin_DEPENDENCIES) @rm -f prezip-bin$(EXEEXT) $(LINK) $(prezip_bin_OBJECTS) $(prezip_bin_LDADD) $(LIBS) prog/compress.$(OBJEXT): prog/$(am__dirstamp) \ prog/$(DEPDIR)/$(am__dirstamp) word-list-compress$(EXEEXT): $(word_list_compress_OBJECTS) $(word_list_compress_DEPENDENCIES) @rm -f word-list-compress$(EXEEXT) $(LINK) $(word_list_compress_OBJECTS) $(word_list_compress_LDADD) $(LIBS) install-binSCRIPTS: $(bin_SCRIPTS) @$(NORMAL_INSTALL) test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" @list='$(bin_SCRIPTS)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ if test -f $$d$$p; then \ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ echo " $(binSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(bindir)/$$f'"; \ $(binSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(bindir)/$$f"; \ else :; fi; \ done uninstall-binSCRIPTS: @$(NORMAL_UNINSTALL) @list='$(bin_SCRIPTS)'; for p in $$list; do \ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ rm -f "$(DESTDIR)$(bindir)/$$f"; \ done install-pkgdataSCRIPTS: $(pkgdata_SCRIPTS) @$(NORMAL_INSTALL) test -z "$(pkgdatadir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)" @list='$(pkgdata_SCRIPTS)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ if test -f $$d$$p; then \ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ echo " $(pkgdataSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgdatadir)/$$f'"; \ $(pkgdataSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgdatadir)/$$f"; \ else :; fi; \ done uninstall-pkgdataSCRIPTS: @$(NORMAL_UNINSTALL) @list='$(pkgdata_SCRIPTS)'; for p in $$list; do \ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ echo " rm -f '$(DESTDIR)$(pkgdatadir)/$$f'"; \ rm -f "$(DESTDIR)$(pkgdatadir)/$$f"; \ done mostlyclean-compile: -rm -f *.$(OBJEXT) -rm -f common/cache.$(OBJEXT) -rm -f common/cache.lo -rm -f common/can_have_error.$(OBJEXT) -rm -f common/can_have_error.lo -rm -f common/config.$(OBJEXT) -rm -f common/config.lo -rm -f common/convert.$(OBJEXT) -rm -f common/convert.lo -rm -f common/document_checker.$(OBJEXT) -rm -f common/document_checker.lo -rm -f common/error.$(OBJEXT) -rm -f common/error.lo -rm -f common/errors.$(OBJEXT) -rm -f common/errors.lo -rm -f common/file_data_util.$(OBJEXT) -rm -f common/file_data_util.lo -rm -f common/file_util.$(OBJEXT) -rm -f common/file_util.lo -rm -f common/filter.$(OBJEXT) -rm -f common/filter.lo -rm -f common/fstream.$(OBJEXT) -rm -f common/fstream.lo -rm -f common/getdata.$(OBJEXT) -rm -f common/getdata.lo -rm -f common/gettext_init.$(OBJEXT) -rm -f common/gettext_init.lo -rm -f common/info.$(OBJEXT) -rm -f common/info.lo -rm -f common/iostream.$(OBJEXT) -rm -f common/iostream.lo -rm -f common/itemize.$(OBJEXT) -rm -f common/itemize.lo -rm -f common/objstack.$(OBJEXT) -rm -f common/objstack.lo -rm -f common/posib_err.$(OBJEXT) -rm -f common/posib_err.lo -rm -f common/speller.$(OBJEXT) -rm -f common/speller.lo -rm -f common/string.$(OBJEXT) -rm -f common/string.lo -rm -f common/string_list.$(OBJEXT) -rm -f common/string_list.lo -rm -f common/string_map.$(OBJEXT) -rm -f common/string_map.lo -rm -f common/strtonum.$(OBJEXT) -rm -f common/strtonum.lo -rm -f common/tokenizer.$(OBJEXT) -rm -f common/tokenizer.lo -rm -f common/version.$(OBJEXT) -rm -f common/version.lo -rm -f lib/can_have_error-c.$(OBJEXT) -rm -f lib/can_have_error-c.lo -rm -f lib/config-c.$(OBJEXT) -rm -f lib/config-c.lo -rm -f lib/document_checker-c.$(OBJEXT) -rm -f lib/document_checker-c.lo -rm -f lib/dummy.$(OBJEXT) -rm -f lib/dummy.lo -rm -f lib/error-c.$(OBJEXT) -rm -f lib/error-c.lo -rm -f lib/filter-c.$(OBJEXT) -rm -f lib/filter-c.lo -rm -f lib/find_speller.$(OBJEXT) -rm -f lib/find_speller.lo -rm -f lib/info-c.$(OBJEXT) -rm -f lib/info-c.lo -rm -f lib/mutable_container-c.$(OBJEXT) -rm -f lib/mutable_container-c.lo -rm -f lib/new_checker.$(OBJEXT) -rm -f lib/new_checker.lo -rm -f lib/new_config.$(OBJEXT) -rm -f lib/new_config.lo -rm -f lib/new_filter.$(OBJEXT) -rm -f lib/new_filter.lo -rm -f lib/new_fmode.$(OBJEXT) -rm -f lib/new_fmode.lo -rm -f lib/speller-c.$(OBJEXT) -rm -f lib/speller-c.lo -rm -f lib/string_enumeration-c.$(OBJEXT) -rm -f lib/string_enumeration-c.lo -rm -f lib/string_list-c.$(OBJEXT) -rm -f lib/string_list-c.lo -rm -f lib/string_map-c.$(OBJEXT) -rm -f lib/string_map-c.lo -rm -f lib/string_pair_enumeration-c.$(OBJEXT) -rm -f lib/string_pair_enumeration-c.lo -rm -f lib/word_list-c.$(OBJEXT) -rm -f lib/word_list-c.lo -rm -f modules/filter/context.$(OBJEXT) -rm -f modules/filter/context.lo -rm -f modules/filter/email.$(OBJEXT) -rm -f modules/filter/email.lo -rm -f modules/filter/nroff.$(OBJEXT) -rm -f modules/filter/nroff.lo -rm -f modules/filter/sgml.$(OBJEXT) -rm -f modules/filter/sgml.lo -rm -f modules/filter/tex.$(OBJEXT) -rm -f modules/filter/tex.lo -rm -f modules/filter/texinfo.$(OBJEXT) -rm -f modules/filter/texinfo.lo -rm -f modules/filter/url.$(OBJEXT) -rm -f modules/filter/url.lo -rm -f modules/speller/default/affix.$(OBJEXT) -rm -f modules/speller/default/affix.lo -rm -f modules/speller/default/data.$(OBJEXT) -rm -f modules/speller/default/data.lo -rm -f modules/speller/default/editdist.$(OBJEXT) -rm -f modules/speller/default/editdist.lo -rm -f modules/speller/default/language.$(OBJEXT) -rm -f modules/speller/default/language.lo -rm -f modules/speller/default/leditdist.$(OBJEXT) -rm -f modules/speller/default/leditdist.lo -rm -f modules/speller/default/multi_ws.$(OBJEXT) -rm -f modules/speller/default/multi_ws.lo -rm -f modules/speller/default/phonet.$(OBJEXT) -rm -f modules/speller/default/phonet.lo -rm -f modules/speller/default/phonetic.$(OBJEXT) -rm -f modules/speller/default/phonetic.lo -rm -f modules/speller/default/primes.$(OBJEXT) -rm -f modules/speller/default/primes.lo -rm -f modules/speller/default/readonly_ws.$(OBJEXT) -rm -f modules/speller/default/readonly_ws.lo -rm -f modules/speller/default/speller_impl.$(OBJEXT) -rm -f modules/speller/default/speller_impl.lo -rm -f modules/speller/default/suggest.$(OBJEXT) -rm -f modules/speller/default/suggest.lo -rm -f modules/speller/default/typo_editdist.$(OBJEXT) -rm -f modules/speller/default/typo_editdist.lo -rm -f modules/speller/default/writable.$(OBJEXT) -rm -f modules/speller/default/writable.lo -rm -f modules/tokenizer/basic.$(OBJEXT) -rm -f modules/tokenizer/basic.lo -rm -f prog/aspell.$(OBJEXT) -rm -f prog/check_funs.$(OBJEXT) -rm -f prog/checker_string.$(OBJEXT) -rm -f prog/compress.$(OBJEXT) -rm -f prog/prezip.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@common/$(DEPDIR)/cache.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@common/$(DEPDIR)/can_have_error.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@common/$(DEPDIR)/config.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@common/$(DEPDIR)/convert.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@common/$(DEPDIR)/document_checker.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@common/$(DEPDIR)/error.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@common/$(DEPDIR)/errors.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@common/$(DEPDIR)/file_data_util.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@common/$(DEPDIR)/file_util.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@common/$(DEPDIR)/filter.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@common/$(DEPDIR)/fstream.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@common/$(DEPDIR)/getdata.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@common/$(DEPDIR)/gettext_init.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@common/$(DEPDIR)/info.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@common/$(DEPDIR)/iostream.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@common/$(DEPDIR)/itemize.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@common/$(DEPDIR)/objstack.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@common/$(DEPDIR)/posib_err.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@common/$(DEPDIR)/speller.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@common/$(DEPDIR)/string.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@common/$(DEPDIR)/string_list.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@common/$(DEPDIR)/string_map.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@common/$(DEPDIR)/strtonum.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@common/$(DEPDIR)/tokenizer.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@common/$(DEPDIR)/version.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/can_have_error-c.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/config-c.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/document_checker-c.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/dummy.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/error-c.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/filter-c.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/find_speller.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/info-c.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/mutable_container-c.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/new_checker.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/new_config.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/new_filter.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/new_fmode.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/speller-c.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/string_enumeration-c.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/string_list-c.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/string_map-c.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/string_pair_enumeration-c.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/word_list-c.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@modules/filter/$(DEPDIR)/context.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@modules/filter/$(DEPDIR)/email.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@modules/filter/$(DEPDIR)/nroff.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@modules/filter/$(DEPDIR)/sgml.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@modules/filter/$(DEPDIR)/tex.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@modules/filter/$(DEPDIR)/texinfo.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@modules/filter/$(DEPDIR)/url.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@modules/speller/default/$(DEPDIR)/affix.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@modules/speller/default/$(DEPDIR)/data.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@modules/speller/default/$(DEPDIR)/editdist.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@modules/speller/default/$(DEPDIR)/language.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@modules/speller/default/$(DEPDIR)/leditdist.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@modules/speller/default/$(DEPDIR)/multi_ws.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@modules/speller/default/$(DEPDIR)/phonet.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@modules/speller/default/$(DEPDIR)/phonetic.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@modules/speller/default/$(DEPDIR)/primes.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@modules/speller/default/$(DEPDIR)/readonly_ws.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@modules/speller/default/$(DEPDIR)/speller_impl.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@modules/speller/default/$(DEPDIR)/suggest.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@modules/speller/default/$(DEPDIR)/typo_editdist.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@modules/speller/default/$(DEPDIR)/writable.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@modules/tokenizer/$(DEPDIR)/basic.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@prog/$(DEPDIR)/aspell.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@prog/$(DEPDIR)/check_funs.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@prog/$(DEPDIR)/checker_string.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@prog/$(DEPDIR)/compress.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@prog/$(DEPDIR)/prezip.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@ mv -f $$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@ mv -f $$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) '$<'` .c.lo: @am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ @am__fastdepCC_TRUE@ mv -f $$depbase.Tpo $$depbase.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< .cpp.o: @am__fastdepCXX_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ @am__fastdepCXX_TRUE@ mv -f $$depbase.Tpo $$depbase.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< .cpp.obj: @am__fastdepCXX_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ @am__fastdepCXX_TRUE@ mv -f $$depbase.Tpo $$depbase.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .cpp.lo: @am__fastdepCXX_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ @am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ @am__fastdepCXX_TRUE@ mv -f $$depbase.Tpo $$depbase.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs -rm -rf common/.libs common/_libs -rm -rf lib/.libs lib/_libs -rm -rf modules/filter/.libs modules/filter/_libs -rm -rf modules/speller/default/.libs modules/speller/default/_libs -rm -rf modules/tokenizer/.libs modules/tokenizer/_libs distclean-libtool: -rm -f libtool config.lt install-filterDATA: $(filter_DATA) @$(NORMAL_INSTALL) test -z "$(filterdir)" || $(MKDIR_P) "$(DESTDIR)$(filterdir)" @list='$(filter_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(filterDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(filterdir)/$$f'"; \ $(filterDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(filterdir)/$$f"; \ done uninstall-filterDATA: @$(NORMAL_UNINSTALL) @list='$(filter_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(filterdir)/$$f'"; \ rm -f "$(DESTDIR)$(filterdir)/$$f"; \ done install-optDATA: $(opt_DATA) @$(NORMAL_INSTALL) test -z "$(optdir)" || $(MKDIR_P) "$(DESTDIR)$(optdir)" @list='$(opt_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(optDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(optdir)/$$f'"; \ $(optDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(optdir)/$$f"; \ done uninstall-optDATA: @$(NORMAL_UNINSTALL) @list='$(opt_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(optdir)/$$f'"; \ rm -f "$(DESTDIR)$(optdir)/$$f"; \ done install-pkgdataDATA: $(pkgdata_DATA) @$(NORMAL_INSTALL) test -z "$(pkgdatadir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)" @list='$(pkgdata_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(pkgdataDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgdatadir)/$$f'"; \ $(pkgdataDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgdatadir)/$$f"; \ done uninstall-pkgdataDATA: @$(NORMAL_UNINSTALL) @list='$(pkgdata_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(pkgdatadir)/$$f'"; \ rm -f "$(DESTDIR)$(pkgdatadir)/$$f"; \ done install-includeHEADERS: $(include_HEADERS) @$(NORMAL_INSTALL) test -z "$(includedir)" || $(MKDIR_P) "$(DESTDIR)$(includedir)" @list='$(include_HEADERS)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \ $(includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \ done uninstall-includeHEADERS: @$(NORMAL_UNINSTALL) @list='$(include_HEADERS)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \ rm -f "$(DESTDIR)$(includedir)/$$f"; \ done install-pspell_includeHEADERS: $(pspell_include_HEADERS) @$(NORMAL_INSTALL) test -z "$(pspell_includedir)" || $(MKDIR_P) "$(DESTDIR)$(pspell_includedir)" @list='$(pspell_include_HEADERS)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(pspell_includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(pspell_includedir)/$$f'"; \ $(pspell_includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(pspell_includedir)/$$f"; \ done uninstall-pspell_includeHEADERS: @$(NORMAL_UNINSTALL) @list='$(pspell_include_HEADERS)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(pspell_includedir)/$$f'"; \ rm -f "$(DESTDIR)$(pspell_includedir)/$$f"; \ done # 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; \ (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; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (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) tags=; \ 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 || \ tags="$$tags $$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; }; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ 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)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) $(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 $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$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; \ distdir=`$(am__cd) $(distdir) && pwd`; \ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ (cd $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$top_distdir" \ distdir="$$distdir/$$subdir" \ am__remove_distdir=: \ am__skip_length_check=: \ distdir) \ || exit 1; \ fi; \ done $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$(top_distdir)" distdir="$(distdir)" \ dist-hook -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-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) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\ *.tar.lzma*) \ unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\ *.tar.Z*) \ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ *.shar.gz*) \ GZIP=$(GZIP_ENV) gunzip -c $(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) dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ && 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 $(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: @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 check: check-recursive all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS) $(DATA) \ $(HEADERS) install-binPROGRAMS: install-libLTLIBRARIES installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(filterdir)" "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkgdatadir)" "$(DESTDIR)$(filterdir)" "$(DESTDIR)$(optdir)" "$(DESTDIR)$(pkgdatadir)" "$(DESTDIR)$(includedir)" "$(DESTDIR)$(pspell_includedir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: 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) -rm -f common/$(DEPDIR)/$(am__dirstamp) -rm -f common/$(am__dirstamp) -rm -f lib/$(DEPDIR)/$(am__dirstamp) -rm -f lib/$(am__dirstamp) -rm -f modules/filter/$(DEPDIR)/$(am__dirstamp) -rm -f modules/filter/$(am__dirstamp) -rm -f modules/speller/default/$(DEPDIR)/$(am__dirstamp) -rm -f modules/speller/default/$(am__dirstamp) -rm -f modules/tokenizer/$(DEPDIR)/$(am__dirstamp) -rm -f modules/tokenizer/$(am__dirstamp) -rm -f prog/$(DEPDIR)/$(am__dirstamp) -rm -f prog/$(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." clean: clean-recursive clean-am: clean-binPROGRAMS clean-filterLTLIBRARIES clean-generic \ clean-libLTLIBRARIES clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf common/$(DEPDIR) lib/$(DEPDIR) modules/filter/$(DEPDIR) modules/speller/default/$(DEPDIR) modules/tokenizer/$(DEPDIR) prog/$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-hdr distclean-libtool distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-filterDATA install-filterLTLIBRARIES \ install-includeHEADERS install-optDATA install-pkgdataDATA \ install-pkgdataSCRIPTS install-pspell_includeHEADERS install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-binPROGRAMS install-binSCRIPTS \ install-libLTLIBRARIES 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 -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache -rm -rf common/$(DEPDIR) lib/$(DEPDIR) modules/filter/$(DEPDIR) modules/speller/default/$(DEPDIR) modules/tokenizer/$(DEPDIR) prog/$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic \ maintainer-clean-local mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS \ uninstall-filterDATA uninstall-filterLTLIBRARIES \ uninstall-includeHEADERS uninstall-libLTLIBRARIES \ uninstall-optDATA uninstall-pkgdataDATA \ uninstall-pkgdataSCRIPTS uninstall-pspell_includeHEADERS .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ install-strip .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ all all-am am--refresh check check-am clean clean-binPROGRAMS \ clean-filterLTLIBRARIES clean-generic clean-libLTLIBRARIES \ clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \ dist-gzip dist-hook dist-lzma dist-shar dist-tarZ dist-zip \ distcheck distclean distclean-compile distclean-generic \ distclean-hdr distclean-libtool 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-filterDATA \ install-filterLTLIBRARIES install-html install-html-am \ install-includeHEADERS install-info install-info-am \ install-libLTLIBRARIES install-man install-optDATA install-pdf \ install-pdf-am install-pkgdataDATA install-pkgdataSCRIPTS \ install-ps install-ps-am install-pspell_includeHEADERS \ install-strip installcheck installcheck-am installdirs \ installdirs-am maintainer-clean maintainer-clean-generic \ maintainer-clean-local mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags tags-recursive uninstall uninstall-am \ uninstall-binPROGRAMS uninstall-binSCRIPTS \ uninstall-filterDATA uninstall-filterLTLIBRARIES \ uninstall-includeHEADERS uninstall-libLTLIBRARIES \ uninstall-optDATA uninstall-pkgdataDATA \ uninstall-pkgdataSCRIPTS uninstall-pspell_includeHEADERS # settings.h added as a dependency so it will get recreated if # the COMPILE_IN_FILTERS option changes gen/static_filters.src.cpp: ${static_optfiles} gen/mk-static-filter.pl gen/settings.h ${PERLPROG} gen/mk-static-filter.pl ${static_optfiles} lib/new_filter.cpp: gen/static_filters.src.cpp gen/filter.pot: gen/mk-filter-pot.pl ${static_optfiles} ${dynamic_optfiles} ${PERLPROG} gen/mk-filter-pot.pl ######################################################################## # # Mk Dirs Target # common/config.cpp: gen/dirs.h gen/dirs.h: gen/mk-dirs_h.pl cd gen; perl mk-dirs_h.pl ${prefix} ${pkgdatadir} ${pkglibdir} ${sysconfdir} > dirs.h scripts/run-with-aspell: scripts/run-with-aspell.create sh ${srcdir}/scripts/run-with-aspell.create ${pkgdatadir} > scripts/run-with-aspell chmod 755 scripts/run-with-aspell @PSPELL_COMPATIBILITY_TRUE@scripts/pspell-config: scripts/mkconfig @PSPELL_COMPATIBILITY_TRUE@ sh ${srcdir}/scripts/mkconfig ${VERSION} ${datadir} ${pkgdatadir} README: manual/readme.texi makeinfo --no-validate --no-headers $< > README maintainer-clean-local: @find . \( -name '*.?pp' -o -name '*.h' -o -name '*.info' \) -print |\ xargs grep -l "Automatically generated file." |\ xargs rm dist-hook: mkdir $(distdir)/maintainer cp autogen config-opt config-debug TODO FIXMEs README-CVS \ $(distdir)/maintainer .PHONY: .manual fake-manual .manual: $(MAKE) -C manual manual manual: .manual $(MAKE) -C manual manual fake-manual: $(MAKE) -C manual fake-manual # 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: aspell-0.60.7~20110707/README000066400000000000000000000423071161413225000147650ustar00rootroot00000000000000Appendix A Installing ********************* Aspell requires gcc 2.95 (or better) as the C++ compiler. Other C++ compilers should work with some effort. Other C++ compilers for mostly POSIX compliant (Unix, Linux, BeOS, Cygwin) systems should work without any major problems provided that the compile can handle all of the advanced C++ features Aspell uses. C++ compilers for non-Unix systems might work but it will take some work. Aspell at very least requires a Unix-like environment (`sh', `grep', `sed', `tr', ...), and Perl in order to build. Aspell also uses a few POSIX functions when necessary. The latest version can always be found at GNU Aspell's home page at `http://aspell.net'. A.1 Generic Install Instructions ================================ ./configure && make For additional `configure' options type `./configure --help'. You can control what C++ compiler is used by setting the environment variable `CXX' before running configure and you can control what flags are passed to the C++ compile via the environment variable `CXXFLAGS'. Static libraries are disabled by default since static libraries will not work right due to the mixing of C and C++. When a C program links with the static libraries in Aspell it is likely to crash because Aspell's C++ objects are not getting initialized correctly. However, if for some reason you want them, you can enable them via `--enable-static'. Aspell should then compile without any additional user intervention. If you run into problems please first check the sections below as that might solve your problem. To install the program simply type make install After Aspell is installed at least one dictionary needs to be installed. You can find them at `http://aspell.net/'. The `aspell' program must be in your path in order for the dictionaries to install correctly. If you do not have Ispell or the traditional Unix `spell' utility installed on your system then you should also copy the compatibility scripts `ispell' and `spell' located in the `scripts/' directory into your binary directory which is usually `/usr/local/bin' so that programs that expect the `ispell' or `spell' command will work correctly. A.2 HTML Manuals and `make clean' ================================= The Aspell distribution includes HTML versions of the User and Developer's manual. Unfortunately, doing a `make clean' will erase them. This is due to a limitation of automake which is not easily fixed. If makeinfo is installed they can easily be rebuild with `make aspell.html aspell-dev.html', or you can unpack them from the tarbar. A.3 Curses Notes ================ If you are having problems compiling `check_funs.cpp' then the most likely reason is due to incompatibilities with the curses implementation on your system. You should first try disabling the "wide" curses library by with the `--disable-wide-curses' configure option. By doing so you will lose support for properly displaying UTF-8 characters but you may still be able to get the full screen interface. If this fails than you can disable curses support altogether with the `--disable-curses' configure option. By doing this you will lose the nice full screen interface but hopefully you will be able to at least get Aspell to compile correctly. If the curses library is installed in a non-standard location than you can specify the library and include directory with `--enable-curses=LIB' and `--enable-curses-include=DIR'. `LIB' can either be the complete path of the library--for example /usr/local/curses/libcurses.a or the name of the library (for example `ncurses') or a combined location and library in the form `-LLIBDIR -lLIB' (for example `-L/usr/local/ncurses/lib -lncurses'). DIR is the location of the curses header files (for example `/usr/local/ncurses/include'). A.3.1 Unicode Support --------------------- In order for Aspell to correctly spell check UTF-8 documents in full screen mode the "wide" version of the curses library must be installed. This is different from the normal version of curses library, and is normally named `libcursesw' (with a `w' at the end) or `libncursesw'. UTF-8 documents will not display correctly without the right curses version installed. In addition your system must also support the `mblen' function. Although this function was defined in the ISO C89 standard (ANSI X3.159-1989), not all systems have it. A.4 Loadable Filter Notes ========================= Support for being able to load additional filter modules at run-time has only been verified to work on Linux platforms. If you get linker errors when trying to use a filter, then it is likely that loadable filter support is not working yet on your platform. Thus, in order to get Aspell to work correctly you will need to avoid compiling the filters as individual modules by using the `--enable-compile-in-filters' when configuring Aspell with `./configure'. A.5 Using 32-Bit Dictionaries on a 64-Bit System ================================================ Due to an oversight, Aspell compiled dictionaries not only depend on the endian order, they also depend on the the size of the `size_t' type, which is generally different on 32 and 64-bit systems. The `size_t' type is used in the hash function of the compiled dictionaries. To force the hash function to use a 32-bit integer instead, use the `--enable-32-bit-hash-fun' configure option. This option will allow you to use dictionaries compiled on a 32-bit machine on a 64-bit one as long as the endian order is the same. Of course, dictionaries compiled on a 64-bit machine without this option enabled will no longer be usable. If Aspell detects that an incompatible hash function is used, it will fail with: Error: The file "SOME-FILE" is not in the proper format. Incompatible hash function. A.6 Upgrading from Aspell 0.50 ============================== The dictionary format has changed so dictionaries will need to be recompiled. All data, by default, is now included in `LIBDIR/aspell-0.60' so that multiple versions of Aspell can more peacefully coexist. This included both the dictionaries and the language data files which were stored in `SHAREDIR/aspell' before Aspell 0.60. The format of the character data files has changed. The new character data files are installed with Aspell so you should not have to worry about it unless you made a custom one. The dictionary option `strip-accents' has been removed. For this reason the old English dictionary (up to 0.51) will no longer work. A new English dictionary is now available which avoids using this option. In addition the `ignore-accents' option is currently unimplemented. The flag `-l' is now a shortcut for `--lang', instead of `--list' as it was with Aspell 0.50. A.6.1 Binary Compatibility -------------------------- The Aspell 0.60 library is binary compatible with the Aspell 0.50 library. For this reason I chose _not_ to increment the major version number (so-name) of the shared library by default which means programs that were compiled for Aspell 0.50 will also work for Aspell 0.60. However, this means that having both Aspell 0.50 and Aspell 0.60 installed at the same time can be pragmatic. If you wish to allow both Aspell 0.50 and 0.60 to be installed at the same time then you can use the configure option `--incremented-soname' which will increment so-name. You should only use this option if you know what you are doing. It is up to you to somehow ensure that both the Aspell 0.50 and 0.60 executables can coexist. If after incrementing the so-name you wish to allow programs compiled for Aspell 0.50 to use Aspell 0.60 instead (thus implying that Aspell 0.50 is not installed) then you can use a special compatibility library which can be found in the `lib5' directory. This directory will not be entered when building or installing Aspell so you must manually build and install this library. You should build it after the rest of Aspell is built. The order in which this library is installed, with relation to the rest of Aspell, is also important. If it is installed _after_ the rest of Aspell then new programs will link to the old library (which will work for Aspell 0.50 or 0.60) when built, if installed _before_, new programs will link with the new library (Aspell 0.60 only). A.7 Upgrading from Aspell .33/Pspell .12 ======================================== Aspell has undergone an extremely large number of changes since the previous Aspell/Pspell release. For one thing Pspell has been merged with Aspell so there in no longer two separate libraries you have to worry about. Because of the massive changes between Aspell/Pspell and Aspell 0.50 you may want to clean out the old files before installing the the new Aspell. To do so do a `make uninstall' in the original Aspell and Pspell source directories. The way dictionaries are handled has also changed. This includes a change in the naming conventions of both language names and dictionaries. Due to the language name change, your old personal dictionaries will not be recognized. However, you can import the old dictionaries by running the `aspell-import' script. This also means that dictionaries designed to work with older versions of Aspell are not likely to function correctly. Fortunately new dictionary packages are available for most languages. You can find them off of the Aspell home page at `http://aspell.net'. The Pspell ABI is now part of Aspell except that the name of everything has changed due to the renaming of Pspell to Aspell. In particular please note the following name changes: pspell -> aspell manager -> speller emulation -> enumeration master_word_list -> main_word_list Please also note that the name of the `language-tag' option has changed to `lang'. However, for backward compatibility the `language-tag' option will still work. However, you should also be able to build applications that require Pspell with the new Aspell as a backward compatibility header file is provided. Due to a change in the way dictionaries are handled, scanning for `.pwli' files in order to find out which dictionaries are available will no longer work. This means that programs that relied on this technique may have problems finding dictionaries. Fortunately, GNU Aspell now provided a uniform way to list all installed dictionaries via the c API. See the file `list-dicts.c' in the `examples/' directory for an example of how to do this. Unfortunately there isn't any simple way to find out which dictionaries are installed which will work with both the old Aspell/Pspell and the new GNU Aspell. A.8 Upgrading from a Pre-0.50 snapshot ====================================== At the last minute I decided to merge the `speller-util' program into the main `aspell' program. You may wish to remove that `speller-util' program to avoid confusion. This also means that dictionaries designed to work with the snapshot will no longer work with the official release. A.9 WIN32 Notes =============== A.9.1 Getting the WIN32 version ------------------------------- The latest version of the native Aspell/WIN32 port, including binaries, can be found at `http://aspell.net/win32'. This page has, unfortunately, not been updated for Aspell 0.60. If you are interested in updated the native port please let me know. A.9.2 Building the WIN32 version -------------------------------- There are two basically different ways of building Aspell using GCC for WIN32: You can either use the Cygwin compiler, which will produce binaries that depend on the POSIX layer in `cygwin1.dll'. The other way is using MinGW GCC, those binaries use the native C runtime from Microsoft (MSVCRT.DLL). A.9.2.1 Building Aspell using Cygwin .................................... This works exactly like on other POSIX compatible systems using the `./configure && make && make install' cycle. Some versions of Cygwin GCC will fail to link, this is caused by an incorrect `libstdc++.la' in the `/lib' directory. After removing or renaming this file, the build progress should work (GCC-2.95 and GCC-3.x should work). A.9.2.2 Building Aspell using MinGW ................................... There are several different ways to build Aspell using MinGW. The easiest way is to use a Cygwin compiler but instruct it to build a native binary rather than a Cygwin one. To do this configure with: ./configure CFLAGS='-O2 -mno-cygwin' CXXFLAGS='-O2 -mno-cygwin' You may also want to add the option `--enable-win32-relocatable' to use more windows friendly directories. *Note Win32-Directories::. In this case configure with: ./configure CFLAGS='-O2 -mno-cygwin' CXXFLAGS='-O2 -mno-cygwin' --enable-win32-relocatable It should also be possible to build Aspell using the MSYS environment. But this has not been very well tested. If building with MSYS _do not_ add `CFLAGS ...' to configure. A.9.2.3 Building Aspell without using Cygwin or MSYS .................................................... It is also possible to build Aspell without Cygwin of MinGW by using the files in the `win32/' subdirectory. However, these files have not been updated to work with Aspell 0.60. Thus the following instructions will not work without some effort. If you do get Aspell to compile this way please send me the updated files so that I can include them with the next release. To compile Aspell with the MinGW compiler, you will need at least GCC-3.2 (as shipped with MinGW-2.0.3) and some GNU tools like `rm' and `cp'. The origin of those tools doesn't matter, it has shown to work with any tools from MinGW/MSys, Cygwin or Linux. To build Aspell, move into the `win32' subdirectory and type `make'. You can enable some additional build options by either commenting out the definitions at the head of the Makefile or passing those values as environment variables or at the `make' command line. Following options are supported: `DEBUGVERSION' If set to "1", the binaries will include debugging information (resulting in a much bigger size). `CURSESDIR' Enter the path to the pdcurses library here, in order to get a nicer console interface (see below). `MSVCLIB' Enter the filename of MS `lib.exe' here, if you want to build libraries that can be imported from MS Visual C++. `WIN32_RELOCATABLE' If set to "1", Aspell will detect the prefix from the path where the DLL resides (see below for further details). `TARGET' Sets a prefix to be used for cross compilation (e.g. `/usr/local/bin/i586-mingw32msvc-' to cross compile from Linux). There are also a MinGW compilers available for Cygwin and Linux, both versions are able to compile Aspell using the prebuilt `Makefile'. While the Cygwin port automatically detects the correct compiler, the Linux version depends on setting the `TARGET' variable in the `Makefile' (or environment) to the correct compiler prefix. Other compilers may work. There is a patch for MS Visual C++ 6.0 available at `ftp://ftp.gnu.org/gnu/aspell', but it needs a lot of changes to the Aspell sources. It has also been reported that the Intel C++ compiler can be used for compilation. A.9.3 (PD)Curses ---------------- In order to get the nice full screen interface when spell checking files, a curses implementation that does not require Cygwin is required. The PDCurses (`http://pdcurses.sourceforge.net') implementation is known to work, other implementations may work however they have not been tested. See the previous section for information on specifying the location of the curses library and include file. Curses notes: * PDcurses built with MinGW needs to be compiled with `-DPDC_STATIC_BUILD' to avoid duplicate declaration of `DllMain' when compiling `aspell.exe'. * The curses enabled version can cause trouble in some shells (MSys `rxvt', `emacs') and will produce errors like `initscr() LINES=1 COLS=1: too small'. Use a non-curses version for those purposes. A.9.4 Directories ----------------- If Aspell is configured with `--enable-win32-relocatable' or compiled with `WIN32_RELOCATABLE=1' when using a Makefile, it can be run from any directory: it will set `PREFIX' according to its install location (assuming it resides in `PREFIX\\bin'). Your personal wordlists will be saved in the `PREFIX' directory with their names changed from `.aspell.LANG.*' to `LANG.*' (you can override the path by setting the `HOME' environment variable). A.9.5 Installer --------------- The installer registers the DLLs as shared libraries, you should increase the reference counter to avoid the libraries being uninstalled if your application still depends on them (and decrease it again when uninstalling your program). The reference counters are located under: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDLLs The install location and version numbers are stored under HKLM\SOFTWARE\Aspell A.9.6 WIN32 consoles -------------------- The console uses a different encoding than GUI applications, changing this to to a Windows encoding (e.g. 1252) is not supported on Win9x/Me. On WinNT (and later) those codepages can be set by first changing the console font to `lucida console', then changing the codepage using `chcp 1252'. Some alternative shells (e.g. MSys' `rxvt' or Cygwin's `bash') do a codepage conversion (if correctly set up), so running Aspell inside those shells might be a workaround for Win9x. aspell-0.60.7~20110707/TODO000066400000000000000000000001311161413225000145620ustar00rootroot00000000000000Consider adding support for recognizing options translated in a different language. aspell-0.60.7~20110707/aclocal.m4000066400000000000000000001072061161413225000157450ustar00rootroot00000000000000# generated automatically by aclocal 1.10.3 -*- 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.61],, [m4_warning([this file was generated for autoconf 2.61. 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.10' 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.10.3], [], [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.10.3])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) # 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 # 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 8 # 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 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"]) ]) # Copyright (C) 1996, 1997, 2000, 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. # serial 8 # AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) # 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 13 # 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.60])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 ]) ]) # 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 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 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} 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])]) # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- # From Jim Meyering # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 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 4 AC_DEFUN([AM_MAINTAINER_MODE], [AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) dnl maintainer-mode is disabled by default AC_ARG_ENABLE(maintainer-mode, [ --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer], USE_MAINTAINER_MODE=$enableval, USE_MAINTAINER_MODE=no) AC_MSG_RESULT([$USE_MAINTAINER_MODE]) AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes]) MAINT=$MAINTAINER_MODE_TRUE AC_SUBST(MAINT)dnl ] ) AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) # Check to see how 'make' treats includes. -*- Autoconf -*- # Copyright (C) 2001, 2002, 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 3 # 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 done .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 # We grep out `Entering directory' and `Leaving directory' # messages which can occur if `w' ends up in MAKEFLAGS. # In particular we don't look at `^make:' because GNU make might # be invoked under some other name (usually "gmake"), in which # case it prints its new name instead of `make'. if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then am__include=include am__quote= _am_result=GNU fi # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then am__include=.include am__quote="\"" _am_result=BSD fi 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 # 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_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 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" # 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 # 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_SANITY_CHECK # --------------- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) # Just in case sleep 1 echo timestamp > conftest.file # 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 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_SUBST_NOTMAKE(VARIABLE) # --------------------------- # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. # This macro is traced by Automake. AC_DEFUN([_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/codeset.m4]) m4_include([m4/gettext.m4]) m4_include([m4/iconv.m4]) m4_include([m4/lib-ld.m4]) m4_include([m4/lib-link.m4]) m4_include([m4/lib-prefix.m4]) m4_include([m4/libtool.m4]) m4_include([m4/ltoptions.m4]) m4_include([m4/ltsugar.m4]) m4_include([m4/ltversion.m4]) m4_include([m4/lt~obsolete.m4]) m4_include([m4/nls.m4]) m4_include([m4/po.m4]) m4_include([m4/progtest.m4]) aspell-0.60.7~20110707/auto/000077500000000000000000000000001161413225000150475ustar00rootroot00000000000000aspell-0.60.7~20110707/auto/Makefile.in000066400000000000000000000001001161413225000171030ustar00rootroot00000000000000top_srcdir = @top_srcdir@ subsystem: $(MAKE) -C ${top_srcdir} aspell-0.60.7~20110707/auto/MkSrc/000077500000000000000000000000001161413225000160665ustar00rootroot00000000000000aspell-0.60.7~20110707/auto/MkSrc/CcHelper.pm000066400000000000000000000200141161413225000201060ustar00rootroot00000000000000# This file is part of The New Aspell # Copyright (C) 2001-2002 by Kevin Atkinson under the GNU LGPL # license version 2.0 or 2.1. You should have received a copy of the # LGPL license along with this library if you did not you can find it # at http://www.gnu.org/. package MkSrc::CcHelper; BEGIN { use Exporter; our @ISA = qw(Exporter); our @EXPORT = qw(to_c_return_type c_error_cond to_type_name make_desc make_func call_func make_c_method call_c_method form_c_method make_cxx_method); } use strict; use warnings; no warnings qw(uninitialized); no locale; use MkSrc::Util; use MkSrc::Type; sub to_type_name ( $ $ ; \% ); =head1 Code Generation Modes The code generation modes are currently one of the following: cc: Mode used to create types suitable for C interface cc_cxx: Like cc but typenames don't have a leading Aspell prefix cxx: Mode used to create types suitable for CXX interface native: Mode in which types are suitable for the internal implementation native_no_err: Like Native but with out PosibErr return types =head1 MkSrc::CcHelper Helper functions used by interface generation code: =over =item to_c_return_type ITEM . =cut sub to_c_return_type ( $ ) { my ($d) = @_; return $d->{type} unless exists $d->{'posib err'}; return 'int' if one_of $d->{type}, ('void', 'bool', 'unsigned int'); return $d->{type}; } =item c_error_cond ITEM . =cut sub c_error_cond ( $ ) { my ($d) = @_; die unless exists $d->{'posib err'}; return '-1' if one_of $d->{type}, ('bool', 'unsigned int', 'int'); return '0'; } =item make_func NAME @TYPES PARMS ; %ACCUM Creates a function prototype Parms can be any of: mode: code generation mode =cut sub make_func ( $ \@ $ ; \% ) { my ($name, $d, $p, $accum) = @_; $accum = {} unless defined $accum; my @d = @$d; return (join '', (to_type_name(shift @d, {%$p,pos=>'return'}, %$accum), ' ', to_lower $name, '(', (join ', ', map {to_type_name $_, {%$p,pos=>'parm'}, %$accum} @d), ')')); } =item call_func NAME @TYPES PARMS ; %ACCUM Return a string to call a func. Will prefix the function with return if the functions returns a non-void type; Parms can be any of: mode: code generation mode =cut sub call_func ( $ \@ $ ; \% ) { my ($name, $d, $p, $accum) = @_; $accum = {} unless defined $accum; my @d = @$d; my $func_ret = to_type_name(shift @d, {%$p,pos=>'return'}, %$accum); return (join '', (($func_ret eq 'void' ? '' : 'return '), to_lower $name, '(', (join ', ', map {to_type_name $_, {%$p,pos=>'parm',use_type=>false}, %$accum} @d), ')')); } =item to_type_name ITEM PARMS ; %ACCUM Converts item into a type name. Parms can be any of: mode: code generation mode use_type: include the actual type use_name: include the name on the type pos: either "return" or "other" =cut sub to_type_name ( $ $ ; \% ) { my ($d, $p, $accum) = @_; $accum = {} unless defined $accum; my $mode = $p->{mode}; die unless one_of $mode, qw(cc cc_cxx cxx native native_no_err); my $is_cc = one_of $mode, qw(cc cc_cxx cxx); my $is_native = one_of $mode, qw(native native_no_err); my $pos = $p->{pos}; my $t = finalized_type($pos eq 'return' && $is_cc ? to_c_return_type $d : $d->{type}); $p->{use_type} = true unless exists $p->{use_type}; $p->{use_name} = true unless exists $p->{use_name}; $p->{pos} = 'other' unless exists $p->{pos}; my $name = $t->{name}; my $type = $t->{type}; return ( (to_type_name {%$d, type=>'string'}, $p, %$accum) , (to_type_name {%$d, type=>'int', name=>"$d->{name}_size"}, $p, %$accum) ) if $name eq 'encoded string' && $is_cc && $pos eq 'parm'; my $str; if ($p->{use_type}) { $str .= "const " if $t->{const}; if ($name eq 'string') { if ($is_native && $pos eq 'parm') { $accum->{headers}{'parm string'} = true; $str .= "ParmString"; } else { $str .= "const char *"; } } elsif ($name eq 'string obj') { die unless $pos eq 'return'; if ($is_cc) { $str .= "const char *"; } else { $accum->{headers}{'string'} = true; $str .= "String"; } } elsif ($name eq 'encoded string') { $str .= "const char *"; } elsif ($name eq '') { $str .= "void"; } elsif ($name eq 'bool' && $is_cc) { $str .= "int"; } elsif ($type eq 'basic') { $str .= $name; } elsif (one_of $type, qw(enum class struct union)) { my $c_type = $type eq 'class' ? 'struct' : $type; if ($t->{pointer}) { $accum->{types}->{$name} = $t; } else { $accum->{headers}->{$t->{created_in}} = true; } $str .= "$c_type Aspell" if $mode eq 'cc'; $str .= to_mixed($name); } else { print STDERR "Warning: Unknown Type: $name\n"; $str .= "{unknown type: $name}"; } if ($t->{pointer} && $type eq 'class' && $mode eq 'cxx') { $str .= "Ptr"; } elsif ($t->{pointer}) { $str .= " *"; } } if (defined $d->{name} && $p->{use_name}) { $str .= " " unless $str eq ''; $str .= to_lower($d->{name}); } $str .= "[$t->{array}]" if $t->{array} && $p->{use_type}; return $str; } =item make_desc DESC ; LEVEL Make a C comment out of DESC optionally indenting it LEVEL spaces. =cut sub make_desc ( $ ; $ ) { my ($desc, $indent) = @_; return '' unless defined $desc; my @desc = split /\n/, $desc; $indent = 0 unless defined $indent; $indent = ' 'x$indent; return ("$indent/* ". join("\n$indent * ", @desc). " */\n"); } =item make_c_method CLASS ITEM PARMS ; %ACCUM Create the phototype for a C method which is really a function. Parms is any of: mode: code generation mode no_aspell: if true do not include aspell in the name this_name: name for the paramater representing the current object =item call_c_method CLASS ITEM PARMS ; %ACCUM Like make_c_method but instead returns the appropriate string to call the function. If the function returns a non-void type the string will be prefixed with a return statement. =item form_c_method CLASS ITEM PARMS ; %ACCUM Like make_c_method except that it returns the array: ($func, $data, $parms, $accum) which is suitable for passing into make_func. It will return an empty array if it can not make a method from ITEM. =cut sub form_c_method ($ $ $ ; \% ) { my ($class, $d, $p, $accum) = @_; $accum = {} unless defined $accum; my $mode = $p->{mode}; my $this_name = defined $p->{this_name} ? $p->{this_name} : 'ths'; my $name = $d->{name}; my $func = ''; my @data = (); @data = @{$d->{data}} if defined $d->{data}; if ($d->{type} eq 'constructor') { if (defined $name) { $func = $name; } else { $func = "new aspell $class"; } splice @data, 0, 0, {type => $class} unless exists $d->{'returns alt type'}; } elsif ($d->{type} eq 'destructor') { $func = "delete aspell $class"; splice @data, 0, 0, ({type => 'void'}, {type=>$class, name=>$this_name}); } elsif ($d->{type} eq 'method') { if (exists $d->{'c func'}) { $func = $d->{'c func'}; } elsif (exists $d->{'prefix'}) { $func = "$d->{prefix} $name"; } else { $func = "aspell $class $name"; } if (exists $d->{'const'}) { splice @data, 1, 0, {type => "const $class", name=> $this_name}; } else { splice @data, 1, 0, {type => "$class", name=> $this_name}; } } else { return (); } $func = "aspell $func" unless $func =~ /aspell/; $func =~ s/aspell\ ?// if exists $p->{no_aspell}; return ($func, \@data, $p, $accum); } sub make_c_method ($ $ $ ; \%) { my @ret = &form_c_method(@_); return undef unless @ret > 0; return &make_func(@ret); } sub call_c_method ($ $ $ ; \%) { my @ret = &form_c_method(@_); return undef unless @ret > 0; return &call_func(@ret); } =item make_cxx_method ITEM PARMS ; %ACCUM Create the phototype for a C++ method. Parms is one of: mode: code generation mode =cut sub make_cxx_method ( $ $ ; \% ) { my ($d, $p, $accum) = @_; my $ret; $ret .= make_func $d->{name}, @{$d->{data}}, $p, %$accum; $ret .= " const" if exists $d->{const}; return $ret; } =back =cut 1; aspell-0.60.7~20110707/auto/MkSrc/Create.pm000066400000000000000000000064261161413225000176370ustar00rootroot00000000000000# This file is part of The New Aspell # Copyright (C) 2001-2002 by Kevin Atkinson under the GNU LGPL # license version 2.0 or 2.1. You should have received a copy of the # LGPL license along with this library if you did not you can find it # at http://www.gnu.org/. package MkSrc::Create; BEGIN { use Exporter; our @ISA = qw(Exporter); our @EXPORT = qw(create_cc_file create_file); } use strict; use warnings; no warnings qw(uninitialized); no locale; use MkSrc::Util; use MkSrc::Info; =head1 MKSrc::Create =over =item create_cc_file PARMS Create a source file. Required Parms: type, dir, name, data Boolean Parms: header, cxx Optional Parms: namespace (required if cxx), pre_ext, accum =item create_file FILENAME DATA Writes DATA to FILENAME but only if DATA differs from the content of the file and the string: Automatically generated file. is present in the existing file if it already exists. =back =cut sub create_cc_file ( % ); sub create_file ( $ $ ); sub create_cc_file ( % ) { my (%p) = @_; $p{name} = $p{data}{name} unless exists $p{name}; $p{ext} = $p{cxx} ? ($p{header} ? 'hpp' : 'cpp') : 'h'; my $body; my %accum = exists $p{accum} ? (%{$p{accum}}) : (); foreach my $d (@{$p{data}{data}}) { next unless exists $info{$d->{type}}{proc}{$p{type}}; $body .= $info{$d->{type}}{proc}{$p{type}}->($d, \%accum); } return unless length($body) > 0; my $file = <<'---'; /* Automatically generated file. Do not edit directly. */ /* This file is part of The New Aspell * Copyright (C) 2001-2002 by Kevin Atkinson under the GNU LGPL * license version 2.0 or 2.1. You should have received a copy of the * LGPL license along with this library if you did not you can find it * at http://www.gnu.org/. */ --- my $hm = "ASPELL_". to_upper($p{name})."__".to_upper($p{ext}); $file .= "#ifndef $hm\n#define $hm\n\n" if $p{header}; $file .= "#include \"aspell.h\"\n" if $p{type} eq 'cxx'; $file .= "#include \"settings.h\"\n" if $p{type} eq 'native_impl' && $p{name} eq 'errors'; $file .= "#include \"gettext.h\"\n" if $p{type} eq 'native_impl' && $p{name} eq 'errors'; $file .= cmap {"#include \"".to_lower($_).".hpp\"\n"} sort keys %{$accum{headers}}; $file .= "#ifdef __cplusplus\nextern \"C\" {\n#endif\n" if $p{header} && !$p{cxx}; $file .= "\nnamespace $p{namespace} {\n\n" if $p{cxx}; if (defined $info{forward}{proc}{$p{type}}) { my @types = sort {$a->{name} cmp $b->{name}} (values %{$accum{types}}); $file .= cmap {$info{forward}{proc}{$p{type}}->($_)} @types; } $file .= "\n"; $file .= $body; $file .= "\n\n}\n\n" if $p{cxx}; $file .= "#ifdef __cplusplus\n}\n#endif\n" if $p{header} && !$p{cxx}; $file .= "#endif /* $hm */\n" if $p{header}; create_file $p{dir}.'/'.to_lower($p{name}).$p{pre_ext}.'.'.$p{ext}, $file; } sub create_file ( $ $ ) { my ($filename, $to_write) = @_; local $/ = undef; my $existing = ''; open F,"../$filename" and $existing=; if ($to_write eq $existing) { print "File \"$filename\" unchanged.\n"; } elsif (length $existing > 0 && $existing !~ /Automatically generated file\./) { print "Will not write over \"$filename\".\n"; } else { print "Creating \"$filename\".\n"; open F, ">../$filename" or die; print F $to_write; } } 1; aspell-0.60.7~20110707/auto/MkSrc/Info.pm000066400000000000000000000104561161413225000173250ustar00rootroot00000000000000# This file is part of The New Aspell # Copyright (C) 2001-2002 by Kevin Atkinson under the GNU LGPL # license version 2.0 or 2.1. You should have received a copy of the # LGPL license along with this library if you did not you can find it # at http://www.gnu.org/. package MkSrc::Info; BEGIN { use Exporter; our @ISA = qw(Exporter); our @EXPORT = qw(%info %types %methods); } use strict; use warnings; no warnings qw(uninitialized); no locale; =head1 MkSrc::Info =head2 %info The info array contains information on how to process the info in mk-src.pl. It has the following layout => options => [] groups => [] # if undef than anything is accepted creates_type => "" # the object will create a new type # as specified proc => => sub {} where is one of: cc: for "aspell.h" header file cxx: for C++ interface implemented on top of cc interface native: for creation of header files used internally by aspell impl: for definition of functions declared in cc interface. the definitions use the native header files native_impl: for implementations of stuff declared in the native header files each proc sub should take the following argv $data: a subtree of $master_data $accum: is one of: desc: description of the object prefix: posib err: the method may return an error condition c func: const: the method is a const member c only: only include in the external interface c impl headers: extra headers that need to be included in the C impl c impl: use this as the c impl instead of the default cxx impl: use this as the cxx impl instead of the default returns alt type: the constructor returns some type other than the object from which it is a member of no native: do not attemt to create a native implementation treat as object: treat as a object rather than a pointer The %info structure is initialized as follows: =cut #pod our %info = ( root => { options => [], groups => ['methods', 'group']}, methods => { # methods is a collection of methods which will be inserted into # a class after some simple substation rules. A $ will be # replaced with name of the class. options => ['strip', 'prefix', 'c impl headers'], groups => undef}, group => { # a group is a colection of objects which should be grouped together # this generally means they will be in the same source file options => ['no native'], groups => ['enum', 'struct', 'union', 'func', 'class', 'errors']}, enum => { # basic C enum options => ['desc', 'prefix'], creates_type => 'enum'}, struct => { # basic c struct options => ['desc', 'treat as object'], groups => undef, creates_type => 'struct',}, union => { # basic C union options => ['desc', 'treat as object'], groups => undef, creates_type => 'union'}, class => { # C++ class options => ['c impl headers'], groups => undef, creates_type => 'class'}, errors => {}, # possible errors method => { # A class method options => ['desc', 'posib err', 'c func', 'const', 'c only', 'c impl', 'cxx impl'], groups => undef}, constructor => { # A class constructor options => ['returns alt type', 'c impl', 'desc'], groups => 'types'}, destructor => { # A class destructor options => [], groups => undef}, ); #cut =pod In addition to the categories listed above a "methods" catagory by be specified in under the class category. A "methods" catagory is created for each methods group under the name " methods" When groups is undefined a type name may be specified in place of a category =head2 %types types contains a master list of all types. This includes basic types and ones created in mk-src.in. The basic types include: =cut my @types = ( #pod 'void', 'bool', 'pointer', 'double', 'string', 'encoded string', 'string obj', 'char', 'unsigned char', 'short', 'unsigned short', 'int', 'unsigned int', 'long', 'unsigned long' #cut ); our %types; use MkSrc::Type; foreach my $t (@types) { update_type $t, {type=>'basic'}} =head2 %methods %methods is used for holding the "methods" information =cut our %methods; 1; aspell-0.60.7~20110707/auto/MkSrc/Methods.pm000066400000000000000000000025231161413225000200310ustar00rootroot00000000000000# This file is part of The New Aspell # Copyright (C) 2001-2002 by Kevin Atkinson under the GNU LGPL # license version 2.0 or 2.1. You should have received a copy of the # LGPL license along with this library if you did not you can find it # at http://www.gnu.org/. package MkSrc::Methods; BEGIN { use Exporter; our @ISA = qw(Exporter); our @EXPORT = qw(copy_methods); } use strict; use warnings; no warnings qw(uninitialized); no locale; use MkSrc::Info; sub copy_n_sub ( $ $ ); sub copy_methods ( $ $ $ ) { my ($d, $data, $class_name) = @_; my $ms = $methods{$d->{type}}; if (not defined $d->{name}) { $d->{name} = $class_name; $d->{name} =~ s/ [^ ]+$// if $ms->{strip} == 1; } my @lst; if (defined $ms->{'c impl headers'}) { $data->{'c impl headers'} .= ",$ms->{'c impl headers'}"; } foreach my $m (@{$ms->{data}}) { push @lst, copy_n_sub($m, $d->{name}); $lst[-1]{prefix} = $m->{prefix} if exists $d->{prefix}; } return @lst } sub copy_n_sub ( $ $ ) { my ($d, $name) = @_; my $new_d = {}; foreach my $k (keys %$d) { if ($k eq 'data') { $new_d->{data} = []; foreach my $d0 (@{$d->{data}}) { push @{$new_d->{data}}, copy_n_sub($d0, $name); } } else { $new_d->{$k} = $d->{$k}; $new_d->{$k} =~ s/\$/$name/g unless ref $new_d->{$k}; } } return $new_d; } 1; aspell-0.60.7~20110707/auto/MkSrc/ProcCc.pm000066400000000000000000000055241161413225000176030ustar00rootroot00000000000000# This file is part of The New Aspell # Copyright (C) 2001-2002 by Kevin Atkinson under the GNU LGPL # license version 2.0 or 2.1. You should have received a copy of the # LGPL license along with this library if you did not you can find it # at http://www.gnu.org/. package MkSrc::ProcCc; BEGIN { use Exporter; our @ISA = qw(Exporter); } use strict; use warnings; no warnings qw(uninitialized); no locale; use MkSrc::Util; use MkSrc::CcHelper; use MkSrc::Info; sub make_c_object ( $ @ ); $info{group}{proc}{cc} = sub { my ($data) = @_; my $ret; my $stars = (70 - length $data->{name})/2; $ret .= "/"; $ret .= '*'x$stars; $ret .= " $data->{name} "; $ret .= '*'x$stars; $ret .= "/\n"; foreach my $d (@{$data->{data}}) { $ret .= "\n\n"; $ret .= $info{$d->{type}}{proc}{cc}->($d); } $ret .= "\n\n"; return $ret; }; $info{enum}{proc}{cc} = sub { my ($d) = @_; my $n = "Aspell".to_mixed($d->{name}); return ("\n". make_desc($d->{desc}). "enum $n {" . join(', ', map {"Aspell".to_mixed($d->{prefix}).to_mixed($_->{type})} @{$d->{data}}). "};\n" . "typedef enum $n $n;\n" ); }; $info{struct}{proc}{cc} = sub { return make_c_object "struct", @_; }; $info{union}{proc}{cc} = sub { return make_c_object "union", $_[0]; }; $info{class}{proc}{cc} = sub { my ($d) = @_; my $class = $d->{name}; my $classname = "Aspell".to_mixed($class); my $ret = ""; $ret .= "typedef struct $classname $classname;\n\n"; foreach (@{$d->{data}}) { my $s = make_c_method($class, $_, {mode=>'cc'}); next unless defined $s; $ret .= "\n"; $ret .= make_desc($_->{desc}); $ret .= make_c_method($class, $_, {mode=>'cc'}).";\n"; } $ret .= "\n"; return $ret; }; $info{func}{proc}{cc} = sub { my ($d) = @_; return (make_desc($d->{desc}). make_func("aspell ".$d->{name}, @{$d->{data}}, {mode => 'cc'}).';'); }; $info{errors}{proc}{cc} = sub { my ($d) = @_; my $p; my $ret; $p = sub { my ($level, $data) = @_; return unless defined $data; foreach my $d (@$data) { $ret .= "extern const struct AspellErrorInfo * const "; $ret .= ' 'x$level; $ret .= "aerror_"; $ret .= to_lower($d->{type}); $ret .= ";\n"; $p->($level + 2, $d->{data}); } }; $p->(0, $d->{data}); return $ret; }; sub make_c_object ( $ @ ) { my ($t, $d) = @_; my $struct; $struct .= "Aspell"; $struct .= to_mixed($d->{name}); return (join "\n\n", grep {$_ ne ''} join ('', "$t $struct {\n", (map {"\n".make_desc($_->{desc},2). " ".to_type_name($_, {mode=>'cc'}). ";\n"} grep {$_->{type} ne 'method' && $_->{type} ne 'cxx constructor'} @{$d->{data}}), "\n};\n"), "typedef $t $struct $struct;", join ("\n", map {make_c_method($d->{name}, $_, {mode=>'cc'}).";"} grep {$_->{type} eq 'method'} @{$d->{data}}) )."\n"; } 1; aspell-0.60.7~20110707/auto/MkSrc/ProcCxx.pm000066400000000000000000000074521161413225000200220ustar00rootroot00000000000000# This file is part of The New Aspell # Copyright (C) 2001-2002 by Kevin Atkinson under the GNU LGPL # license version 2.0 or 2.1. You should have received a copy of the # LGPL license along with this library if you did not you can find it # at http://www.gnu.org/. package MkSrc::ProcCxx; BEGIN { use Exporter; our @ISA = qw(Exporter); our @EXPORT = qw(%info %types %methods); } use strict; use warnings; no warnings qw(uninitialized); no locale; use MkSrc::Util; use MkSrc::CcHelper; use MkSrc::Info; $info{forward}{proc}{cxx} = sub { my ($type) = @_; my $n = to_mixed($_->{name}); if ($type->{type} eq 'class') { return "typedef Aspell$n * ${n}Ptr;\n"; } elsif (one_of $type->{type}, 'struct', 'union') { return "typedef Aspell$n $n;\n"; } else { return ""; } }; $info{group}{proc}{cxx} = sub { my ($data, $accum) = @_; my $str; foreach my $d (@{$data->{data}}) { my $s = $info{$d->{type}}{proc}{cxx}->($d, $accum); $str .= "\n\n$s" if defined $s; } my $ret = ""; if (defined $str) { my $stars = (70 - length $data->{name})/2; $ret .= "/".('*'x$stars)." $data->{name} ".('*'x$stars)."/\n"; $ret .= $str; $ret .= "\n\n"; } return $ret; }; $info{enum}{proc}{cxx} = sub { my ($d) = @_; my $n = to_mixed($d->{name}); return ("\n". make_desc($d->{desc}). "typedef Aspell$n $n;\n". join('', map {my $en = to_mixed($d->{prefix}).to_mixed($_->{type}); "static const $n $en = Aspell$en;\n"} @{$d->{data}}) ); }; $info{struct}{proc}{cxx} = sub { my ($d, $accum) = @_; my $n = to_mixed($d->{name}); $accum->{types}{$d->{name}} = $d; return undef; }; $info{union}{proc}{cxx} = sub { my ($d, $accum) = @_; my $n = to_mixed($d->{name}); $accum->{types}{$d->{name}} = $d; return undef; }; $info{class}{proc}{cxx} = sub { my ($d, $accum) = @_; my $class = $d->{name}; my $cn = to_mixed($class); my $cl = to_lower($class); my $cp = "${cn}Ptr"; $accum->{types}{$d->{name}} = $d; my $ret; $ret = <<"---"; struct ${cn}Ref { $cp ptr; ${cn}Ref ($cp rhs) : ptr(rhs) {} }; class $cn { $cp ptr; public: explicit $cn($cp p = 0) : ptr(p) {} $cn($cn & other) : ptr (other.release()) {} ~$cn() {del();} $cn & operator=($cn & other) {reset(other.release()); return *this;} $cp get() const {return ptr;} operator $cp () const {return ptr;} $cp release () {$cp p = ptr; ptr = 0; return p;} void del() {delete_aspell_$cl(ptr); ptr = 0;} void reset($cp p) {assert(ptr==0); ptr = p;} $cn & operator=($cp p) {reset(p); return *this;} $cn(${cn}Ref rhs) : ptr(rhs.ptr) {} $cn& operator= (${cn}Ref rhs) {reset(rhs.ptr); return *this;} operator ${cn}Ref() {return ${cn}Ref(release());} --- foreach (@{$d->{data}}) { next unless $_->{type} eq 'method'; $ret .= " ".make_cxx_method($_, {mode=>'cxx'})."\n"; $ret .= " {\n"; $ret .= " ".call_c_method($class, $_, {mode=>'cc', this_name=>'ptr'}).";\n"; $ret .= " }\n\n"; } $ret .= "};\n"; foreach (@{$d->{data}}) { next unless $_->{type} eq 'constructor'; $ret .= "static inline "; $ret .= make_c_method $class, $_, {mode=>'cxx', no_aspell=>true}; $ret .= "{\n"; $ret .= " ".call_c_method($class, $_, {mode=>'cc'}).";\n"; $ret .= "}\n\n"; } return $ret; }; $info{errors}{proc}{cxx} = sub { my ($d) = @_; my $p; my $ret; $p = sub { my ($level, $data) = @_; return unless defined $data; foreach my $d (@$data) { $ret .= "static const ErrorInfo * const "; $ret .= ' 'x$level; $ret .= to_lower($d->{type}); $ret .= "_error" if defined $d->{data} || $level == 0; $ret .= " = "; $ret .= "aerror_"; $ret .= to_lower($d->{type}); $ret .= ";\n"; $p->($level + 2, $d->{data}); } }; $p->(0, $d->{data}); return $ret; }; 1; aspell-0.60.7~20110707/auto/MkSrc/ProcImpl.pm000066400000000000000000000076151161413225000201620ustar00rootroot00000000000000# This file is part of The New Aspell # Copyright (C) 2001-2002 by Kevin Atkinson under the GNU LGPL # license version 2.0 or 2.1. You should have received a copy of the # LGPL license along with this library if you did not you can find it # at http://www.gnu.org/. package MkSrc::ProcImpl; BEGIN { use Exporter; our @ISA = qw(Exporter); } use strict; use warnings; no warnings qw(uninitialized); no locale; use MkSrc::Util; use MkSrc::CcHelper; use MkSrc::Info; use MkSrc::Create; $info{forward}{proc}{impl} = sub { my ($type) = @_; return "$type->{type} ".to_mixed($type->{name}).";\n"; }; $info{group}{proc}{impl} = sub { my ($data) = @_; create_cc_file (type => 'impl', cxx => true, namespace => 'acommon', dir => "lib", pre_ext => "-c", header => false, data => $data, accum => {headers => {$data->{name} => true} } ); }; $info{class}{proc}{impl} = sub { my ($data, $accum) = @_; my $ret; foreach (grep {$_ ne ''} split /\s*,\s*/, $data->{'c impl headers'}) { $accum->{headers}{$_} = true; } foreach my $d (@{$data->{data}}) { next unless one_of $d->{type}, qw(method constructor destructor); my @parms = @{$d->{data}} if exists $d->{data}; my $m = make_c_method $data->{name}, $d, {mode=>'cc_cxx', use_name=>true}, %$accum; next unless defined $m; $ret .= "extern \"C\" $m\n"; $ret .= "{\n"; if (exists $d->{'c impl'}) { $ret .= cmap {" $_\n"} split /\n/, $d->{'c impl'}; } else { if ($d->{type} eq 'method') { my $ret_type = shift @parms; my $ret_native = to_type_name $ret_type, {mode=>'native_no_err', pos=>'return'}, %$accum; my $snum = 0; foreach (@parms) { my $n = to_lower($_->{name}); if ($_->{type} eq 'encoded string') { $accum->{headers}{'mutable string'} = true; $accum->{headers}{'convert'} = true; $ret .= " ths->temp_str_$snum.clear();\n"; $ret .= " ths->to_internal_->convert($n, ${n}_size, ths->temp_str_$snum);\n"; $ret .= " unsigned int s$snum = ths->temp_str_$snum.size();\n"; $_ = "MutableString(ths->temp_str_$snum.mstr(), s$snum)"; $snum++; } else { $_ = $n; } } my $parms = '('.(join ', ', @parms).')'; my $exp = "ths->".to_lower($d->{name})."$parms"; if (exists $d->{'posib err'}) { $accum->{headers}{'posib err'} = true; $ret .= " PosibErr<$ret_native> ret = $exp;\n"; $ret .= " ths->err_.reset(ret.release_err());\n"; $ret .= " if (ths->err_ != 0) return ".(c_error_cond $ret_type).";\n"; if ($ret_type->{type} eq 'void') { $ret_type = {type=>'special'}; $exp = "1"; } else { $exp = "ret.data"; } } if ($ret_type->{type} eq 'string obj') { $ret .= " ths->temp_str = $exp;\n"; $exp = "ths->temp_str.c_str()"; } elsif ($ret_type->{type} eq 'encoded string') { die; # This is not used and also not implemented right $ret .= " if (to_encoded_ != 0) (*to_encoded)($exp,temp_str_);\n"; $ret .= " else temp_str_ = $exp;\n"; $exp = "temp_str_0.data()"; } if ($ret_type->{type} eq 'const word list') { $accum->{headers}{'word list'} = true; $ret .= " if (ret.data)\n"; $ret .= " const_cast(ret.data)->from_internal_ = ths->from_internal_;\n"; } $ret .= " "; $ret .= "return " unless $ret_type->{type} eq 'void'; $ret .= $exp; $ret .= ";\n"; } elsif ($d->{type} eq 'constructor') { my $name = $d->{name} ? $d->{name} : "new $data->{name}"; $name =~ s/aspell\ ?//; # FIXME: Abstract this in a function $name = to_lower($name); shift @parms if exists $d->{'returns alt type'}; # FIXME: Abstract this in a function my $parms = '('.(join ', ', map {$_->{name}} @parms).')'; $ret .= " return $name$parms;\n"; } elsif ($d->{type} eq 'destructor') { $ret .= " delete ths;\n"; } } $ret .= "}\n\n"; } return $ret; }; $info{struct}{proc}{impl} = $info{class}{proc}{impl}; $info{union}{proc}{impl} = $info{class}{proc}{impl}; 1; aspell-0.60.7~20110707/auto/MkSrc/ProcNative.pm000066400000000000000000000111621161413225000204770ustar00rootroot00000000000000# This file is part of The New Aspell # Copyright (C) 2001-2002 by Kevin Atkinson under the GNU LGPL # license version 2.0 or 2.1. You should have received a copy of the # LGPL license along with this library if you did not you can find it # at http://www.gnu.org/. package MkSrc::ProcNative; BEGIN { use Exporter; our @ISA = qw(Exporter); } use strict; use warnings; no warnings qw(uninitialized); no locale; use MkSrc::Util; use MkSrc::CcHelper; use MkSrc::Info; use MkSrc::Create; use MkSrc::Type; sub make_native_obj ( $ @ ); $info{forward}{proc}{native} = sub { my ($type) = @_; return "$type->{type} ".to_mixed($type->{name}).";\n"; }; $info{group}{proc}{native} = sub { my ($data) = @_; return if exists $data->{'no native'}; create_cc_file (type => 'native', cxx => true, namespace => 'acommon', dir => "common", header => true, data => $data); }; $info{enum}{proc}{native} = sub { my ($data) = @_; my $n = to_mixed($data->{name}); return ("enum $n {" . join (',', map {to_mixed($data->{prefix}).to_mixed($_->{type})} @{$data->{data}}). "};\n"); }; $info{struct}{proc}{native} = sub { return make_native_obj 'struct', @_; }; $info{union}{proc}{native} = sub { return make_native_obj 'union', @_; }; $info{class}{proc}{native} = sub { return make_native_obj 'class', @_; }; $info{errors}{proc}{native} = sub { my ($data, $accum) = @_; my $ret; $accum->{types}{"error info"} = finalized_type "error info"; my $p0; $p0 = sub { my ($level, $data) = @_; return unless defined $data; foreach my $d (@$data) { $ret .= "extern \"C\" const ErrorInfo * const "; $ret .= ' 'x$level; $ret .= "aerror_"; $ret .= to_lower($d->{type}); $ret .= ";\n"; $p0->($level + 2, $d->{data}); } }; my $p1; $p1 = sub { my ($level, $data) = @_; return unless defined $data; foreach my $d (@$data) { $ret .= "static const ErrorInfo * const "; $ret .= ' 'x$level; $ret .= to_lower($d->{type}); $ret .= "_error" if defined $d->{data} || $level == 0; $ret .= " = aerror_"; $ret .= to_lower($d->{type}); $ret .= ";\n"; $p1->($level + 2, $d->{data}); } }; $p0->(0, $data->{data}); $ret .= "\n\n"; $p1->(0, $data->{data}); return $ret; }; sub make_cxx_constructor ( $ $ ; \% ) { my ($class, $p, $accum) = @_; my $ret; $ret .= to_mixed($class); $ret .= "("; $ret .= join ', ', map {to_type_name $_, {mode=>'native',pos=>'parm'}, %$accum} @$p; $ret .= ")"; return $ret; } sub make_native_obj ( $ @ ) { my ($t, $data, $accum) = @_; my $obj = to_mixed($data->{name}); my @defaults; my @public; foreach my $d (@{$data->{data}}) { next unless $d->{type} eq 'public'; next if $d->{name} eq $data->{name}; push @public, to_mixed($d->{name}); my $typ = finalized_type $d->{name}; $accum->{headers}{$typ->{created_in}} = true; } my $ret; $ret .= "$t $obj "; $ret .= ": ".join(', ', map {"public $_"} @public).' ' if @public; $ret .= "{\n"; $ret .= " public:\n" if $t eq 'class'; foreach my $d (@{$data->{data}}) { next if exists $d->{'c only'}; next if one_of $d->{type}, qw(constructor destructor public); $ret .= " "; if ($d->{type} eq 'method') { my $is_vir = $t eq 'class' && !exists $d->{'cxx impl'}; $ret .= "virtual " if $is_vir; $ret .= make_cxx_method $d, {mode=>'native'}, %$accum; $ret .= $is_vir ? " = 0;\n" : exists $d->{'cxx impl'} ? " { $d->{'cxx impl'}; }\n" : ";\n"; } elsif ($d->{type} eq 'cxx constructor') { $ret .= make_cxx_constructor $data->{name}, $d->{data}, %$accum; $ret .= exists $d->{'cxx impl'} ? " $d->{'cxx impl'}\n" : ";\n"; } else { # is a type if (exists $d->{default}) { push @defaults, $d; } if ($d->{type} eq 'cxx member') { foreach (split /\s*,\s*/, $d->{'headers'}) { $accum->{headers}{$_} = true; } $ret .= $d->{what}; } elsif ($t eq 'class') { $ret .= to_type_name $d, {mode=>'native'}, %$accum; $ret .= "_"; } else { $ret .= to_type_name $d, {mode=>'cc_cxx'}, %$accum; } $ret .= ";\n"; } } if (@defaults || $t eq 'class') { $ret .= " $obj()"; if (@defaults) { $ret .= " : "; $ret .= join ', ', map {to_lower($_->{name}).($t eq 'class'?'_':'')."($_->{default})"} @defaults; } $ret .= " {}\n"; } $ret .= " virtual ~${obj}() {}\n" if $t eq 'class'; $ret .= "};\n"; foreach my $d (@{$data->{data}}) { next unless $d->{type} eq 'constructor'; $ret .= make_c_method $data->{name}, $d, {mode=>'native',no_aspell=>false}, %$accum; $ret .= ";\n"; } return $ret; } 1; aspell-0.60.7~20110707/auto/MkSrc/ProcNativeImpl.pm000066400000000000000000000046161161413225000213270ustar00rootroot00000000000000# This file is part of The New Aspell # Copyright (C) 2001-2002 by Kevin Atkinson under the GNU LGPL # license version 2.0 or 2.1. You should have received a copy of the # LGPL license along with this library if you did not you can find it # at http://www.gnu.org/. package MkSrc::ProcNativeImpl; BEGIN { use Exporter; our @ISA = qw(Exporter); our @EXPORT = qw(%info %types %methods); } use strict; use warnings; no warnings qw(uninitialized); no locale; use MkSrc::Util; use MkSrc::CcHelper; use MkSrc::Info; use MkSrc::Create; $info{forward}{proc}{native_impl} = sub { my ($type) = @_; return "$type->{type} ".to_mixed($type->{name}).";\n"; }; $info{group}{proc}{native_impl} = sub { my ($data) = @_; create_cc_file (type => 'native_impl', cxx => true, namespace => 'acommon', dir => "common", header => false, data => $data, accum => {headers => {$data->{name} => true} } ); }; $info{errors}{proc}{native_impl} = sub { my $ret; my $p; $p = sub { my ($isa, $parms, $data) = @_; my @parms = (@$parms, (split /, */, $data->{parms})); my $parm_idx = sub { my ($p) = @_; return 0 if $p eq 'prim'; for (my $i = 0; $i != @parms; ++$i) { return $i+1 if $parms[$i] eq $p; } die "can't find parm for \"$p\""; }; my $proc_mesg = sub { my @mesg = split /\%(\w+)/, $_[0]; my $mesg = ''; while (true) { my $m = shift @mesg; $m =~ s/\"/\\\"/g; $mesg .= $m; my $p = shift @mesg; last unless defined $p; $mesg .= "%$p:"; $mesg .= $parm_idx->($p); } if (length $mesg == 0) { $mesg = 0; } else { $mesg = "N_(\"$mesg\")"; } return $mesg; }; my $mesg = $proc_mesg->($data->{mesg}); my $name = "aerror_".to_lower($data->{type}); $ret .= "static const ErrorInfo $name\_obj = {\n"; $ret .= " ".(defined $isa ? "$isa": 0).", // isa\n"; $ret .= " $mesg, // mesg\n"; $ret .= " ".scalar @parms.", // num_parms\n"; $ret .= " {".(join ', ', map {"\"$_\""} (@parms ? @parms : ("")))."} // parms\n"; $ret .= "};\n"; $ret .= "extern \"C\" const ErrorInfo * const $name = &$name\_obj;\n"; $ret .= "\n"; foreach my $d (@{$data->{data}}) { $ret .= $p->($name, \@parms, $d); } }; my ($data, $accum) = @_; $accum->{headers}{'error'} = true; foreach my $d (@{$data->{data}}) { $ret .= $p->(undef, [], $d); } return $ret; }; 1; aspell-0.60.7~20110707/auto/MkSrc/Read.pm000066400000000000000000000117521161413225000173050ustar00rootroot00000000000000# This file is part of The New Aspell # Copyright (C) 2001-2002 by Kevin Atkinson under the GNU LGPL # license version 2.0 or 2.1. You should have received a copy of the # LGPL license along with this library if you did not you can find it # at http://www.gnu.org/. package MkSrc::Read; BEGIN { use Exporter; @ISA = qw(Exporter); @EXPORT = qw(read); } use strict; use warnings; no warnings qw(uninitialized); no locale; use MkSrc::Util; use MkSrc::Type; use MkSrc::Info; use MkSrc::Methods; my $line = ''; my $level = 0; my $base_level = 0; my $in_pod = undef; my $master_data = {type=>'root', name=>undef}; # master_data contains all the information in mk-src.in and then some. # It has the following structure # # := # data => # where each tree represents an entry in mk-src.in. # The following two options are always provided: # name: the name of the entry # type: the catagory or type name # Additional options are the same as specified in %info =head1 MkSrc::Read =over =item read Read in "mk-src.in" and returns a data structure which has the following format: := data => where each tree represents an entry in mk-src.in. The following two options are always provided: name: the name of the entry type: the catagory or type name Additional options are the same as specified in %info =back =cut sub advance ( ); sub parse ( $ $ ); sub prep ( $ $ $ ); sub read ( ) { open IN, "mk-src.in" or die; advance; parse $master_data, 0; close IN; prep $master_data, '', {}; return $master_data; } sub need_options ( $ ); sub valid_option ( $ $ ); sub valid_group ( $ $ ); sub store_group ( $ $ ); sub advance ( ) { $line = undef; do { $line = ; return unless defined $line; $in_pod = $1 if $line =~ /^\=(\w+)/; $line = '' if $in_pod; $in_pod = undef if $in_pod && $in_pod eq 'cut'; $line =~ s/\#.*$//; $line =~ s/^(\t*)//; $level = $base_level + length($1); $line =~ s/\s*$//; ++$base_level if $line =~ s/^\{$//; --$base_level if $line =~ s/^\}$//; $line =~ s/\\([{}])/$1/g; } while ($line eq ''); #print "$level:$line\n"; } sub parse ( $ $ ) { my ($data, $this_level) = @_; if (need_options $data) { for (;;) { return if $level < $this_level; return unless defined $line; die if $level > $this_level; last if $line eq '/'; my $k; ($k, $line) = split /\=\>/, $line; $k =~ s/^\s*(.+?)\s*$/$1/; my $v = $line; print STDERR "The option \"$k\" is invalid for the group \"$data->{type}\"\n" unless valid_option $data, $k; advance; for (;;) { return unless defined $line; last if $level <= $this_level; $v .= "\n$line"; advance; } $v =~ s/^[ \t\n]+//; $v =~ s/[ \t\n]+$//; $data->{$k} = $v; } return unless $line eq '/'; advance; } else { advance if $line eq '/'; } $data->{data} = []; for (;;) { return if $level < $this_level; return unless defined $line; die if $level > $this_level; my ($type, $name) = split /:/, $line; $type =~ s/^\s*(.+?)\s*$/$1/; $name =~ s/^\s*(.+?)\s*$/$1/; print STDERR "The subgroup \"$type\" is invalid in the group \"$data->{type}\"\n" unless valid_group $data, $type; my $d = {type=>$type, name=>$name}; store_group $d, $data; advance; parse($d, $this_level + 1); } } sub prep ( $ $ $ ) { my ($data, $group, $stack) = @_; my $d = creates_type $data; update_type $d->{name}, {%$d,created_in=>$group} if (defined $d); $group = $data->{name} if $data->{type} eq 'group'; $stack = {%$stack, prev=>$data, $data->{type}=>$data}; if ($data->{type} eq 'method') { die unless $data->{data}; $data->{data}[0]{'posib err'} = true if exists $data->{'posib err'}; } my $i = 0; my $lst = $data->{data}; return unless defined $lst; while ($i != @$lst) { my $d = $lst->[$i]; if (exists $methods{$d->{type}}) { splice @$lst, $i, 1, copy_methods($d, $data, $stack->{class}{name}); } else { prep $d, $group, $stack; ++$i; } } } # # Parser helper functions # sub need_options ( $ ) { my ($i, $o) = @_; my $options = $info{$i->{type}}{options}; return true unless ref $options eq 'ARRAY'; return true unless @$options == 0; return false; } sub valid_option ( $ $ ) { my ($i, $o) = @_; my $options = $info{$i->{type}}{options}; return true unless ref $options eq 'ARRAY'; return scalar ( grep {$_ eq $o} @$options); } sub valid_group ( $ $ ) { my ($i, $t) = @_; my $groups = $info{$i->{type}}{groups}; return true unless ref $groups eq 'ARRAY'; return scalar ( grep {$_ eq $t} @$groups); } sub store_group ( $ $ ) { my ($d, $data) = @_; if ($d->{type} eq 'methods') { $methods{"$d->{name} methods"} = $d; # Don't usa as groups is now undef # push @{$info{class}{groups}}, "$d->{name} methods"; } else { push @{$data->{data}}, $d; } } 1; aspell-0.60.7~20110707/auto/MkSrc/Type.pm000066400000000000000000000042031161413225000173440ustar00rootroot00000000000000# This file is part of The New Aspell # Copyright (C) 2001-2002 by Kevin Atkinson under the GNU LGPL # license version 2.0 or 2.1. You should have received a copy of the # LGPL license along with this library if you did not you can find it # at http://www.gnu.org/. package MkSrc::Type; BEGIN { use Exporter; our @ISA = qw(Exporter); our @EXPORT = qw(creates_type update_type finalized_type); } use strict; use warnings; no warnings qw(uninitialized); no locale; sub creates_type ( $ ); sub update_type ( $ ; $ ); sub finalized_type ( $ ); use MkSrc::Util; use MkSrc::Info; # # Type Functions # sub creates_type ( $ ) { my ($i) = @_; my $d; $d->{type} = $info{$i->{type}}{creates_type}; return undef unless defined $d->{type}; $d->{name} = $i->{name}; $d->{treat_as} = ($i->{type} eq 'basic' ? 'special' : exists $i->{'treat as object'} || $i->{type} eq 'enum' ? 'object' : 'pointer'); if (my $name = $info{$i->{type}}{creates_name}) { $d->{name} = $name->($i); } return $d; } sub update_type ( $ ; $ ) { my ($name, $data) = @_; my $d = $types{$name}; $types{$name} = $d = {} unless defined $d; $d->{data} = $data if defined $data; $d->{data} = {} unless defined $d->{data}; return $d; } sub finalized_type ( $ ) { my ($name) = @_; my $d = $types{$name}; $types{$name} = $d = {data=>{}} unless defined $d; return $d unless exists $d->{data}; while (my ($k,$v) = each %{$d->{data}}) { $d->{$k} = defined $v ? $v : true; } delete $d->{data}; local $_ = $name; s/^const // and $d->{const} = true; s/^array (\d+) // and $d->{array} = $1; s/ ?pointer$// and $d->{pointer} = true; s/ ?object$// and $d->{pointer} = false; $_ = 'void' if length $_ == 0; my $r = finalized_type $_; $d->{type} = exists $r->{type} ? $r->{type} : 'unknown'; $d->{name} = $_; $d->{orig_name} = $name; $d->{pointer} = ($r->{treat_as} eq 'pointer') unless exists $d->{pointer}; $d->{const} = false unless $d->{pointer}; $d->{created_in} = $r->{created_in}; return $d; } 1; aspell-0.60.7~20110707/auto/MkSrc/Util.pm000066400000000000000000000032741161413225000173470ustar00rootroot00000000000000# This file is part of The New Aspell # Copyright (C) 2001-2002 by Kevin Atkinson under the GNU LGPL # license version 2.0 or 2.1. You should have received a copy of the # LGPL license along with this library if you did not you can find it # at http://www.gnu.org/. package MkSrc::Util; BEGIN { use Exporter; our @ISA = qw(Exporter); our @EXPORT = qw(false true cmap one_of to_upper to_lower to_mixed); } use strict; use warnings; no warnings qw(uninitialized); no locale; =head1 MkSrc::Util This module contains various useful utility functions: =over =cut =item false Returns 0. =item true Returns 1. =cut sub false () {return 0} sub true () {return 1} =item cmap EXPR LIST Apply EXPR to each item in LIST and than concatenate the result into a string =cut sub cmap ( & @ ) { my ($sub, @d) = @_; return join '', map &$sub, @d; } =item one_of STR LIST Returns true if LIST contains at least one of STR. =cut sub one_of ( $ @ ) { my ($v, @l) = @_; return scalar grep {$_ eq $v} @l; } =item to_upper STR Convert STR to all uppercase and substitute spaces with underscores. =cut sub to_upper( $ ) { local ($_) = @_; s/\-/ /g; s/^\s+//; s/\s+$//; s/(\S)\s+(\S)/$1_$2/g; return uc($_); } =item to_lower STR Convert STR to all lowercase and substitute spaces with underscores. =cut sub to_lower( $ ) { local ($_) = @_; s/\-/ /g; s/^\s+//; s/\s+$//; s/(\S)\s+(\S)/$1_$2/g; return lc($_); } =item to_mixed STR Convert STR to mixed case where each new word startes with a uppercase letter. For example "feed me" would become "FeedMe". =cut sub to_mixed( $ ) { local ($_) = @_; s/\-/ /g; s/\s*(\S)(\S*)/\u$1\l$2\E/g; return $_; } =back =cut 1; aspell-0.60.7~20110707/auto/auto000066400000000000000000000000001161413225000157300ustar00rootroot00000000000000aspell-0.60.7~20110707/auto/mk-doc.pl000066400000000000000000000020261161413225000165560ustar00rootroot00000000000000#!/usr/bin/perl my @files = qw(mk-src.in MkSrc/Info.pm MkSrc/Util.pm MkSrc/Read.pm MkSrc/Create.pm MkSrc/CcHelper.pm); my $final; foreach (@files) { open IN, $_; $final .= "\n\n### FILE: $_\n\n"; while () { s/^\#pod\s*/\n\=pod\n\n/; s/^\#cut\s*/\n\=cut\n\n/; $final .= $_; } close IN; } open OUT, ">mk-src.pod" or die; print OUT $final; close OUT; use Pod::Checker; $parser = Pod::Checker->new(); $parser->parse_from_file('mk-src.pod', \*STDERR); use Pod::Text; $parser = Pod::Text->new(loose=>1); $parser->parse_from_file('mk-src.pod', 'mk-src.txt'); #use Pod::LaTeX; #$parser = Pod::LaTeX->new(AddPreamble => 0, AddPostamble => 0); #$parser->parse_from_file('mk-src.pod', '../manual/mk-src.tex.new'); #$/ = undef; #open IN, '../manual/mk-src.tex'; #$orig = ; #open IN, '../manual/mk-src.tex.new'; #$new = ; #close IN; #if ($orig eq $new) { # print "mk-src.tex unchanged\n"; #} else { # rename '../manual/mk-src.tex.new', '../manual/mk-src.tex'; #} #unlink "mk-src.pod"; aspell-0.60.7~20110707/auto/mk-src.in000066400000000000000000000515671161413225000166110ustar00rootroot00000000000000# # mk-src.in -- Input file for the Perl program to automatically # generate interface code. # # This file is part of The New Aspell # Copyright (C) 2001-2005 by Kevin Atkinson under the GNU LGPL # license version 2.0 or 2.1. You should have received a copy of the # LGPL license along with this library if you did not you can find it # at http://www.gnu.org/. =head1 mk-src.in The format of mk-src.in is as follows: The following characters are literals: { } / '\ ' \n = > := (\n)+ := :\ {\n
\n} | <>
:= \n /\n := (