kdelibs3/kdelibs-3.5.8-kspell2-enchant.patch

1323 lines
45 KiB
Diff
Raw Normal View History

diff -Nur kdelibs-3.5.8/configure.in kdelibs-3.5.8-kspell2-enchant/configure.in
--- kdelibs-3.5.8/configure.in 2007-10-08 16:41:26.000000000 +0200
+++ kdelibs-3.5.8-kspell2-enchant/configure.in 2007-12-21 23:50:43.000000000 +0100
@@ -2005,6 +2005,10 @@
dnl FILE: ./kspell2/plugins/configure.in.in
dnl =======================================================
+PKG_CHECK_MODULES(ENCHANT, enchant >= 1.2.5)
+AC_SUBST(ENCHANT_CFLAGS)
+AC_SUBST(ENCHANT_LIBS)
+
AC_ARG_WITH(aspell,AC_HELP_STRING([--with-aspell],[Enable aspell support [default=check]]),[aspell_test="$withval"],[aspell_test="yes"])
if test "x$aspell_test" = "xyes" ; then
diff -Nur kdelibs-3.5.8/kspell2/plugins/configure.in.in kdelibs-3.5.8-kspell2-enchant/kspell2/plugins/configure.in.in
--- kdelibs-3.5.8/kspell2/plugins/configure.in.in 2006-03-17 11:19:11.000000000 +0100
+++ kdelibs-3.5.8-kspell2-enchant/kspell2/plugins/configure.in.in 2007-12-21 23:43:31.000000000 +0100
@@ -1,3 +1,7 @@
+PKG_CHECK_MODULES(ENCHANT, enchant >= 1.2.5)
+AC_SUBST(ENCHANT_CFLAGS)
+AC_SUBST(ENCHANT_LIBS)
+
AC_ARG_WITH(aspell,AC_HELP_STRING([--with-aspell],[Enable aspell support [default=check]]),[aspell_test="$withval"],[aspell_test="yes"])
if test "x$aspell_test" = "xyes" ; then
diff -Nur kdelibs-3.5.8/kspell2/plugins/enchant/enchantclient.cpp kdelibs-3.5.8-kspell2-enchant/kspell2/plugins/enchant/enchantclient.cpp
--- kdelibs-3.5.8/kspell2/plugins/enchant/enchantclient.cpp 1970-01-01 01:00:00.000000000 +0100
+++ kdelibs-3.5.8-kspell2-enchant/kspell2/plugins/enchant/enchantclient.cpp 2007-12-22 00:22:05.000000000 +0100
@@ -0,0 +1,103 @@
+// -*- Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil; -*-
+/**
+ * Copyright 2006 Zack Rusin <zack@kde.org>
+ * KDE 3 backport Copyright 2007 Kevin Kofler <Kevin@tigcc.ticalc.org>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+ */
+#include "enchantclient.h"
+#include "enchantdict.h"
+
+#include <kgenericfactory.h>
+#include <kdebug.h>
+
+typedef KGenericFactory<QSpellEnchantClient> EnchantClientFactory;
+K_EXPORT_COMPONENT_FACTORY(kspell_enchant, EnchantClientFactory("kspell_enchant"))
+
+using namespace KSpell2;
+
+static void enchantDictDescribeFn(const char * const lang_tag,
+ const char * const provider_name,
+ const char * const provider_desc,
+ const char * const provider_file,
+ void * user_data)
+{
+ QSpellEnchantClient *client =
+ reinterpret_cast<QSpellEnchantClient*>(user_data);
+ //kdDebug()<<lang_tag<<provider_name<<provider_desc<<provider_file<<endl;
+ Q_UNUSED(provider_name);
+ Q_UNUSED(provider_desc);
+ Q_UNUSED(provider_file);
+ client->addLanguage(QString::fromLatin1(lang_tag));
+
+}
+
+QSpellEnchantClient::QSpellEnchantClient(QObject *parent, const char *name, const QStringList& /* args */)
+ : Client(parent, name)
+{
+ m_broker = enchant_broker_init();
+ enchant_broker_list_dicts(m_broker,
+ enchantDictDescribeFn,
+ this);
+}
+
+QSpellEnchantClient::~QSpellEnchantClient()
+{
+ enchant_broker_free(m_broker);
+}
+
+Dictionary *QSpellEnchantClient::dictionary(
+ const QString &language)
+{
+ EnchantDict *dict = enchant_broker_request_dict(m_broker,
+ language.utf8());
+
+ if (!dict) {
+ const char *err = enchant_broker_get_error(m_broker);
+ kdDebug()<<"Couldn't create speller for"<<language<<": "<<err<<endl;
+ return 0;
+ } else {
+ //Enchant caches dictionaries, so it will always return the same one.
+ int refs = m_dictRefs[dict];
+ ++refs;
+ m_dictRefs[dict] = refs;
+ return new QSpellEnchantDict(this, m_broker, dict, language);
+ }
+}
+
+QStringList QSpellEnchantClient::languages() const
+{
+ return m_languages;
+}
+
+void QSpellEnchantClient::addLanguage(const QString &lang)
+{
+ if (m_languages.find(lang) == m_languages.end())
+ m_languages.append(lang);
+}
+
+void QSpellEnchantClient::removeDictRef(EnchantDict *dict)
+{
+ int refs = m_dictRefs[dict];
+ --refs;
+ m_dictRefs[dict] = refs;
+ if (refs <= 0) {
+ m_dictRefs.remove(dict);
+ enchant_broker_free_dict(m_broker, dict);
+ }
+}
+
+#include "enchantclient.moc"
diff -Nur kdelibs-3.5.8/kspell2/plugins/enchant/enchantclient.h kdelibs-3.5.8-kspell2-enchant/kspell2/plugins/enchant/enchantclient.h
--- kdelibs-3.5.8/kspell2/plugins/enchant/enchantclient.h 1970-01-01 01:00:00.000000000 +0100
+++ kdelibs-3.5.8-kspell2-enchant/kspell2/plugins/enchant/enchantclient.h 2007-12-22 00:15:21.000000000 +0100
@@ -0,0 +1,63 @@
+// -*- Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil; -*-
+/**
+ * Copyright 2006 Zack Rusin <zack@kde.org>
+ * KDE 3 backport Copyright 2007 Kevin Kofler <Kevin@tigcc.ticalc.org>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+ */
+#ifndef QSPELL_ENCHANTCLIENT_H
+#define QSPELL_ENCHANTCLIENT_H
+
+#include "client.h"
+
+#include <qmap.h>
+#include <enchant.h>
+
+namespace KSpell2 {
+ class Dictionary;
+}
+using KSpell2::Dictionary;
+
+class QSpellEnchantClient : public KSpell2::Client
+{
+ Q_OBJECT
+public:
+ QSpellEnchantClient(QObject *parent, const char *name, const QStringList & /* args */);
+ ~QSpellEnchantClient();
+
+ virtual int reliability() const {
+ return 30;
+ }
+
+ virtual Dictionary *dictionary(const QString &language);
+
+ virtual QStringList languages() const;
+
+ virtual QString name() const {
+ return QString::fromLatin1("Enchant");
+ }
+
+ void addLanguage(const QString &lang);
+
+ void removeDictRef(EnchantDict *dict);
+
+private:
+ EnchantBroker *m_broker;
+ QStringList m_languages;
+ QMap<EnchantDict*, int> m_dictRefs;
+};
+
+#endif
diff -Nur kdelibs-3.5.8/kspell2/plugins/enchant/enchantdict.cpp kdelibs-3.5.8-kspell2-enchant/kspell2/plugins/enchant/enchantdict.cpp
--- kdelibs-3.5.8/kspell2/plugins/enchant/enchantdict.cpp 1970-01-01 01:00:00.000000000 +0100
+++ kdelibs-3.5.8-kspell2-enchant/kspell2/plugins/enchant/enchantdict.cpp 2007-12-22 00:24:28.000000000 +0100
@@ -0,0 +1,108 @@
+// -*- Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil; -*-
+/**
+ * Copyright 2006 Zack Rusin <zack@kde.org>
+ * KDE 3 backport Copyright 2007 Kevin Kofler <Kevin@tigcc.ticalc.org>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+ */
+#include "enchantdict.h"
+#include "enchantclient.h"
+
+#include <qtextcodec.h>
+#include <kdebug.h>
+
+using namespace KSpell2;
+
+QSpellEnchantDict::QSpellEnchantDict(QSpellEnchantClient *client,
+ EnchantBroker *broker,
+ EnchantDict *dict,
+ const QString &language)
+ : Dictionary(language),
+ m_broker(broker),
+ m_dict(dict),
+ m_client(client)
+{
+ kdDebug()<<"Enchant dict for"<<language << dict << endl;
+}
+
+QSpellEnchantDict::~QSpellEnchantDict()
+{
+ //Enchant caches dictionaries, so it will always return the same one.
+ // therefore we do not want to delete the EnchantDict here but in the
+ // client when it knows that nothing is using it anymore
+ m_client->removeDictRef(m_dict);
+}
+
+bool QSpellEnchantDict::check(const QString &word)
+{
+ int wrong = enchant_dict_check(m_dict, word.utf8(),
+ word.utf8().length());
+ return !wrong;
+}
+
+QStringList QSpellEnchantDict::suggest(const QString &word)
+{
+ /* Needed for Unicode conversion */
+ QTextCodec *codec = QTextCodec::codecForName("utf8");
+
+ size_t number = 0;
+ char **suggestions =
+ enchant_dict_suggest(m_dict, word.utf8(), word.utf8().length(),
+ &number);
+
+ QStringList qsug;
+ for (size_t i = 0; i < number; ++i) {
+ qsug.append(codec->toUnicode(suggestions[i]));
+ }
+
+ if (suggestions && number)
+ enchant_dict_free_string_list(m_dict, suggestions);
+ return qsug;
+}
+
+bool QSpellEnchantDict::checkAndSuggest(const QString& word,
+ QStringList& suggestions)
+{
+ bool c = check(word);
+ if (c)
+ suggestions = suggest(word);
+ return c;
+}
+
+bool QSpellEnchantDict::storeReplacement(const QString &bad,
+ const QString &good)
+{
+ enchant_dict_store_replacement(m_dict,
+ bad.utf8(), bad.utf8().length(),
+ good.utf8(), good.utf8().length());
+ return true;
+}
+
+bool QSpellEnchantDict::addToPersonal(const QString &word)
+{
+ kdDebug() << "QSpellEnchantDict::addToPersonal: word = "
+ << word << endl;
+ enchant_dict_add_to_pwl(m_dict, word.utf8(),
+ word.utf8().length());
+ return true;
+}
+
+bool QSpellEnchantDict::addToSession(const QString &word)
+{
+ enchant_dict_add_to_session(m_dict, word.utf8(),
+ word.utf8().length());
+ return true;
+}
diff -Nur kdelibs-3.5.8/kspell2/plugins/enchant/enchantdict.h kdelibs-3.5.8-kspell2-enchant/kspell2/plugins/enchant/enchantdict.h
--- kdelibs-3.5.8/kspell2/plugins/enchant/enchantdict.h 1970-01-01 01:00:00.000000000 +0100
+++ kdelibs-3.5.8-kspell2-enchant/kspell2/plugins/enchant/enchantdict.h 2007-12-22 00:28:50.000000000 +0100
@@ -0,0 +1,59 @@
+// -*- Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil; -*-
+/**
+ * Copyright 2006 Zack Rusin <zack@kde.org>
+ * KDE 3 backport Copyright 2007 Kevin Kofler <Kevin@tigcc.ticalc.org>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+ */
+#ifndef QSPELL_ENCHANTDICT_H
+#define QSPELL_ENCHANTDICT_H
+
+#include "dictionary.h"
+
+#include <enchant.h>
+
+class QSpellEnchantClient;
+
+class QSpellEnchantDict : public KSpell2::Dictionary
+{
+public:
+ ~QSpellEnchantDict();
+ virtual bool check(const QString &word);
+
+ virtual QStringList suggest(const QString &word);
+
+ virtual bool checkAndSuggest(const QString& word,
+ QStringList& suggestions);
+
+ virtual bool storeReplacement(const QString &bad,
+ const QString &good);
+
+ virtual bool addToPersonal(const QString &word);
+ virtual bool addToSession(const QString &word);
+protected:
+ friend class QSpellEnchantClient;
+ QSpellEnchantDict(QSpellEnchantClient *client,
+ EnchantBroker *broker,
+ EnchantDict *dict,
+ const QString &language);
+
+private:
+ EnchantBroker *m_broker;
+ EnchantDict *m_dict;
+ QSpellEnchantClient *m_client;
+};
+
+#endif
diff -Nur kdelibs-3.5.8/kspell2/plugins/enchant/kspell_enchant.desktop kdelibs-3.5.8-kspell2-enchant/kspell2/plugins/enchant/kspell_enchant.desktop
--- kdelibs-3.5.8/kspell2/plugins/enchant/kspell_enchant.desktop 1970-01-01 01:00:00.000000000 +0100
+++ kdelibs-3.5.8-kspell2-enchant/kspell2/plugins/enchant/kspell_enchant.desktop 2007-12-22 00:31:32.000000000 +0100
@@ -0,0 +1,41 @@
+[Desktop Entry]
+Encoding=UTF-8
+Type=Service
+ServiceTypes=KSpell/Client
+X-KDE-Library=kspell_enchant
+X-KDE-PluginInfo-Author=Zack Rusin
+X-KDE-PluginInfo-Email=zack@kde.org
+X-KDE-PluginInfo-Name=kspell_enchant
+X-KDE-PluginInfo-Version=0.0.1
+X-KDE-PluginInfo-Website=http://www.kde.org
+X-KDE-PluginInfo-Category=Clients
+X-KDE-PluginInfo-Category[bn_IN]=ক্লায়েন্ট
+X-KDE-PluginInfo-Category[el]=Πελάτες
+X-KDE-PluginInfo-Category[eo]=Klientoj
+X-KDE-PluginInfo-Category[eu]=Bezeroak
+X-KDE-PluginInfo-Category[ga]=Cliaint
+X-KDE-PluginInfo-Category[hu]=Kliensek
+X-KDE-PluginInfo-Category[is]=Vélar
+X-KDE-PluginInfo-Category[ja]=クライアント
+X-KDE-PluginInfo-Category[km]=ម៉ាស៊ីន​ភ្ញៀវ
+X-KDE-PluginInfo-Category[lv]=Klienti
+X-KDE-PluginInfo-Category[pt]=Clientes
+X-KDE-PluginInfo-Category[pt_BR]=Clientes
+X-KDE-PluginInfo-Category[sr]=Клијенти
+X-KDE-PluginInfo-Category[sr@latin]=Klijenti
+X-KDE-PluginInfo-Category[sv]=Klienter
+X-KDE-PluginInfo-Category[th]=โปรแกรมลูก
+X-KDE-PluginInfo-Category[zh_CN]=客户
+X-KDE-PluginInfo-Category[zh_TW]=客戶端
+X-KDE-PluginInfo-Depends=
+X-KDE-PluginInfo-License=LGPL
+X-KDE-PluginInfo-EnabledByDefault=true
+Name=Enchant
+Name[ar]=إنشنت
+Name[hi]=एनचैंट
+Name[kn]=ಎಂಚಾಂಟ್
+Name[ne]=मोहीत पार्नु
+Name[sr]=Енчант
+Name[ta]=வசீகரம்
+Name[x-test]=xxEnchantxx
+Name[zh_CN]=增强
diff -Nur kdelibs-3.5.8/kspell2/plugins/enchant/Makefile.am kdelibs-3.5.8-kspell2-enchant/kspell2/plugins/enchant/Makefile.am
--- kdelibs-3.5.8/kspell2/plugins/enchant/Makefile.am 1970-01-01 01:00:00.000000000 +0100
+++ kdelibs-3.5.8-kspell2-enchant/kspell2/plugins/enchant/Makefile.am 2007-12-21 23:44:17.000000000 +0100
@@ -0,0 +1,17 @@
+METASOURCES = AUTO
+
+AM_CPPFLAGS = -I$(top_srcdir)/kspell2 -I$(top_srcdir) $(all_includes) $(ENCHANT_CFLAGS)
+
+# For the future: examine if condensing the tons of *_LDFLAGS variables
+# into $(all_libraries) isn't better
+AM_LDFLAGS = $(LDFLAGS_AS_NEEDED) $(LDFLAGS_NEW_DTAGS)
+
+kde_module_LTLIBRARIES = kspell_enchant.la
+
+kspell_enchant_la_SOURCES = enchantclient.cpp enchantdict.cpp
+
+kspell_enchant_la_LDFLAGS = -module -no-undefined $(KDE_PLUGIN)
+kspell_enchant_la_LIBADD = ../../ui/libkspell2.la $(ENCHANT_LIBS)
+
+service_DATA = kspell_enchant.desktop
+servicedir = $(kde_servicesdir)
diff -Nur kdelibs-3.5.8/kspell2/plugins/enchant/Makefile.in kdelibs-3.5.8-kspell2-enchant/kspell2/plugins/enchant/Makefile.in
--- kdelibs-3.5.8/kspell2/plugins/enchant/Makefile.in 1970-01-01 01:00:00.000000000 +0100
+++ kdelibs-3.5.8-kspell2-enchant/kspell2/plugins/enchant/Makefile.in 2007-12-21 23:49:17.000000000 +0100
@@ -0,0 +1,848 @@
+# Makefile.in generated by automake 1.10 from Makefile.am.
+# KDE tags expanded automatically by am_edit - $Revision: 483858 $
+# @configure_input@
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+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@
+subdir = kspell2/plugins/enchant
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
+ $(top_srcdir)/configure.in
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/admin/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/config.h \
+ $(top_builddir)/dcop/dcop-path.h \
+ $(top_builddir)/kdecore/kdemacros.h \
+ $(top_builddir)/kio/kssl/ksslconfig.h \
+ $(top_builddir)/kjs/global.h
+CONFIG_CLEAN_FILES =
+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)$(kde_moduledir)" \
+ "$(DESTDIR)$(servicedir)"
+kde_moduleLTLIBRARIES_INSTALL = $(INSTALL)
+LTLIBRARIES = $(kde_module_LTLIBRARIES)
+kspell_enchant_la_DEPENDENCIES = ../../ui/libkspell2.la
+am_kspell_enchant_la_OBJECTS = enchantclient.lo \
+ enchantdict.lo
+#>- kspell_enchant_la_OBJECTS = $(am_kspell_enchant_la_OBJECTS)
+#>+ 5
+kspell_enchant_la_final_OBJECTS = kspell_enchant_la.all_cpp.lo
+kspell_enchant_la_nofinal_OBJECTS = enchantclient.lo \
+ enchantdict.lo
+@KDE_USE_FINAL_FALSE@kspell_enchant_la_OBJECTS = $(kspell_enchant_la_nofinal_OBJECTS)
+@KDE_USE_FINAL_TRUE@kspell_enchant_la_OBJECTS = $(kspell_enchant_la_final_OBJECTS)
+#>- kspell_enchant_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
+#>- $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
+#>- $(CXXFLAGS) $(kspell_enchant_la_LDFLAGS) $(LDFLAGS) -o $@
+#>+ 3
+kspell_enchant_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
+ $(CXXFLAGS) $(KDE_CXXFLAGS) $(kspell_enchant_la_LDFLAGS) $(LDFLAGS) -o $@
+DEFAULT_INCLUDES = -I. -I$(top_builddir) -I$(top_builddir)/dcop -I$(top_builddir)/kdecore -I$(top_builddir)/kio/kssl -I$(top_builddir)/kjs@am__isrc@
+depcomp = $(SHELL) $(top_srcdir)/admin/depcomp
+am__depfiles_maybe = depfiles
+#>- CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+#>- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+#>+ 2
+CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS)
+#>- LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+#>- --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+#>- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+#>+ 3
+LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+ --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS)
+CXXLD = $(CXX)
+#>- CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+#>- --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \
+#>- $(LDFLAGS) -o $@
+#>+ 3
+CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+ --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS) $(AM_LDFLAGS) \
+ $(LDFLAGS) -o $@
+SOURCES = $(kspell_enchant_la_SOURCES)
+DIST_SOURCES = $(kspell_enchant_la_SOURCES)
+serviceDATA_INSTALL = $(INSTALL_DATA)
+DATA = $(service_DATA)
+ETAGS = etags
+CTAGS = ctags
+#>- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+#>+ 1
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) $(KDE_DIST)
+ACLOCAL = @ACLOCAL@
+ACL_LIBS = @ACL_LIBS@
+ALLOCA = @ALLOCA@
+AMTAR = @AMTAR@
+AR = @AR@
+ARTSCCONFIG = @ARTSCCONFIG@
+AUTOCONF = @AUTOCONF@
+AUTODIRS = @AUTODIRS@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CONF_FILES = @CONF_FILES@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DCOPIDL = @DCOPIDL@
+DCOPIDL2CPP = @DCOPIDL2CPP@
+DCOPIDLNG = @DCOPIDLNG@
+DCOP_DEPENDENCIES = @DCOP_DEPENDENCIES@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DOXYGEN = @DOXYGEN@
+DOXYGEN_PROJECT_NAME = @DOXYGEN_PROJECT_NAME@
+DOXYGEN_PROJECT_NUMBER = @DOXYGEN_PROJECT_NUMBER@
+ECHO = @ECHO@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+ENABLE_PERMISSIVE_FLAG = @ENABLE_PERMISSIVE_FLAG@
+ENCHANT_CFLAGS = @ENCHANT_CFLAGS@
+ENCHANT_LDFLAGS = @ENCHANT_LDFLAGS@
+EXEEXT = @EXEEXT@
+EXR_FLAGS = @EXR_FLAGS@
+EXTRA_SUBDIRS = @EXTRA_SUBDIRS@
+F77 = @F77@
+FFLAGS = @FFLAGS@
+FRAMEWORK_COREAUDIO = @FRAMEWORK_COREAUDIO@
+GMSGFMT = @GMSGFMT@
+GREP = @GREP@
+GSSAPI_INCS = @GSSAPI_INCS@
+GSSAPI_LIBS = @GSSAPI_LIBS@
+GSSAPI_RPATH = @GSSAPI_RPATH@
+HAVE_GCC_VISIBILITY = @HAVE_GCC_VISIBILITY@
+HAVE_MITSHM = @HAVE_MITSHM@
+HAVE_SENDFILE = @HAVE_SENDFILE@
+HELP_SUBDIR = @HELP_SUBDIR@
+ICE_RLIB = @ICE_RLIB@
+ICE_SUBDIR = @ICE_SUBDIR@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+KCFG_DEPENDENCIES = @KCFG_DEPENDENCIES@
+KCONFIG_COMPILER = @KCONFIG_COMPILER@
+KDEINIT_SETUID = @KDEINIT_SETUID@
+KDEINIT_XFT_INCLUDES = @KDEINIT_XFT_INCLUDES@
+KDE_CHECK_PLUGIN = @KDE_CHECK_PLUGIN@
+KDE_EXTRA_RPATH = @KDE_EXTRA_RPATH@
+KDE_FORCE_INLINE = @KDE_FORCE_INLINE@
+KDE_HAS_DOXYGEN = @KDE_HAS_DOXYGEN@
+KDE_HAVE_DOT = @KDE_HAVE_DOT@
+KDE_INCLUDES = @KDE_INCLUDES@
+KDE_LDFLAGS = @KDE_LDFLAGS@
+KDE_MT_LDFLAGS = @KDE_MT_LDFLAGS@
+KDE_MT_LIBS = @KDE_MT_LIBS@
+KDE_NO_UNDEFINED = @KDE_NO_UNDEFINED@
+KDE_PLUGIN = @KDE_PLUGIN@
+KDE_RPATH = @KDE_RPATH@
+KDE_USE_CLOSURE_FALSE = @KDE_USE_CLOSURE_FALSE@
+KDE_USE_CLOSURE_TRUE = @KDE_USE_CLOSURE_TRUE@
+KDE_USE_FINAL_FALSE = @KDE_USE_FINAL_FALSE@
+KDE_USE_FINAL_TRUE = @KDE_USE_FINAL_TRUE@
+KDE_USE_FPIE = @KDE_USE_FPIE@
+KDE_USE_NMCHECK_FALSE = @KDE_USE_NMCHECK_FALSE@
+KDE_USE_NMCHECK_TRUE = @KDE_USE_NMCHECK_TRUE@
+KDE_USE_PIE = @KDE_USE_PIE@
+KDE_XSL_STYLESHEET = @KDE_XSL_STYLESHEET@
+KJAVA_POLICYPATH = @KJAVA_POLICYPATH@
+LDFLAGS = @LDFLAGS@
+LDFLAGS_AS_NEEDED = @LDFLAGS_AS_NEEDED@
+LDFLAGS_NEW_DTAGS = @LDFLAGS_NEW_DTAGS@
+LIBADD_DL = @LIBADD_DL@
+LIBART_CFLAGS = @LIBART_CFLAGS@
+LIBART_LIBS = @LIBART_LIBS@
+LIBART_RPATH = @LIBART_RPATH@
+LIBASOUND = @LIBASOUND@
+LIBBZ2 = @LIBBZ2@
+LIBCOMPAT = @LIBCOMPAT@
+LIBCRYPT = @LIBCRYPT@
+LIBDL = @LIBDL@
+LIBFAM = @LIBFAM@
+LIBICE = @LIBICE@
+LIBJPEG = @LIBJPEG@
+LIBOBJS = @LIBOBJS@
+LIBPCRE = @LIBPCRE@
+LIBPNG = @LIBPNG@
+LIBPTHREAD = @LIBPTHREAD@
+LIBRESOLV = @LIBRESOLV@
+LIBS = @LIBS@
+LIBSM = @LIBSM@
+LIBSOCKET = @LIBSOCKET@
+LIBSSL = @LIBSSL@
+LIBTHAI = @LIBTHAI@
+LIBTIFF = @LIBTIFF@
+LIBTOOL = @LIBTOOL@
+LIBUCB = @LIBUCB@
+LIBUTEMPTER = @LIBUTEMPTER@
+LIBUTIL = @LIBUTIL@
+LIBVOLMGT = @LIBVOLMGT@
+LIBXML_CFLAGS = @LIBXML_CFLAGS@
+LIBXML_LIBS = @LIBXML_LIBS@
+LIBXML_RPATH = @LIBXML_RPATH@
+LIBXSLT_CFLAGS = @LIBXSLT_CFLAGS@
+LIBXSLT_LIBS = @LIBXSLT_LIBS@
+LIBXSLT_RPATH = @LIBXSLT_RPATH@
+LIBZ = @LIBZ@
+LIB_CUPS = @LIB_CUPS@
+LIB_DNSSD = @LIB_DNSSD@
+LIB_EXR = @LIB_EXR@
+LIB_IDN = @LIB_IDN@
+LIB_JASPER = @LIB_JASPER@
+LIB_KAB = @LIB_KAB@
+LIB_KABC = @LIB_KABC@
+LIB_KDECORE = @LIB_KDECORE@
+LIB_KDED = @LIB_KDED@
+LIB_KDEPIM = @LIB_KDEPIM@
+LIB_KDEPRINT = @LIB_KDEPRINT@
+LIB_KDEUI = @LIB_KDEUI@
+LIB_KDNSSD = @LIB_KDNSSD@
+LIB_KFILE = @LIB_KFILE@
+LIB_KFM = @LIB_KFM@
+LIB_KHTML = @LIB_KHTML@
+LIB_KIMGIO = @LIB_KIMGIO@
+LIB_KIMPROXY = @LIB_KIMPROXY@
+LIB_KIO = @LIB_KIO@
+LIB_KJS = @LIB_KJS@
+LIB_KNEWSTUFF = @LIB_KNEWSTUFF@
+LIB_KPARTS = @LIB_KPARTS@
+LIB_KSPELL = @LIB_KSPELL@
+LIB_KSYCOCA = @LIB_KSYCOCA@
+LIB_KUNITTEST = @LIB_KUNITTEST@
+LIB_KUTILS = @LIB_KUTILS@
+LIB_POLL = @LIB_POLL@
+LIB_QPE = @LIB_QPE@
+LIB_QT = @LIB_QT@
+LIB_SMB = @LIB_SMB@
+LIB_X11 = @LIB_X11@
+LIB_XEXT = @LIB_XEXT@
+LIB_XRENDER = @LIB_XRENDER@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+LUA = @LUA@
+LUA_INCLUDES = @LUA_INCLUDES@
+LUA_LIBS = @LUA_LIBS@
+MAKEINFO = @MAKEINFO@
+MAKEKDEWIDGETS = @MAKEKDEWIDGETS@
+MCOPIDL = @MCOPIDL@
+MD5SUM = @MD5SUM@
+MEINPROC = @MEINPROC@
+MEINPROC_DEP = @MEINPROC_DEP@
+MKDIR_P = @MKDIR_P@
+MOC = @MOC@
+MSGFMT = @MSGFMT@
+NOOPT_CFLAGS = @NOOPT_CFLAGS@
+NOOPT_CXXFLAGS = @NOOPT_CXXFLAGS@
+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@
+PCRECFLAGS = @PCRECFLAGS@
+PERL = @PERL@
+PKG_CONFIG = @PKG_CONFIG@
+QNAMESPACE_H = @QNAMESPACE_H@
+QTDOCDIR = @QTDOCDIR@
+QTE_NORTTI = @QTE_NORTTI@
+QT_INCLUDES = @QT_INCLUDES@
+QT_LDFLAGS = @QT_LDFLAGS@
+RANLIB = @RANLIB@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+SSL_INCLUDES = @SSL_INCLUDES@
+SSL_LDFLAGS = @SSL_LDFLAGS@
+STRIP = @STRIP@
+TOPSUBDIRS = @TOPSUBDIRS@
+UIC = @UIC@
+UIC_TR = @UIC_TR@
+USER_INCLUDES = @USER_INCLUDES@
+USER_LDFLAGS = @USER_LDFLAGS@
+USE_EXCEPTIONS = @USE_EXCEPTIONS@
+USE_RTTI = @USE_RTTI@
+USE_THREADS = @USE_THREADS@
+VERSION = @VERSION@
+WOVERLOADED_VIRTUAL = @WOVERLOADED_VIRTUAL@
+XGETTEXT = @XGETTEXT@
+XMKMF = @XMKMF@
+XMLLINT = @XMLLINT@
+X_EXTRA_LIBS = @X_EXTRA_LIBS@
+X_INCLUDES = @X_INCLUDES@
+X_LDFLAGS = @X_LDFLAGS@
+X_PRE_LIBS = @X_PRE_LIBS@
+X_RPATH = @X_RPATH@
+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_F77 = @ac_ct_F77@
+all_includes = @all_includes@
+all_libraries = @all_libraries@
+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@
+cups_modeldir = @cups_modeldir@
+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@
+kde_appsdir = @kde_appsdir@
+kde_bindir = @kde_bindir@
+kde_confdir = @kde_confdir@
+kde_cups_config = @kde_cups_config@
+kde_datadir = @kde_datadir@
+kde_htmldir = @kde_htmldir@
+kde_icondir = @kde_icondir@
+kde_includes = @kde_includes@
+kde_kcfgdir = @kde_kcfgdir@
+kde_libraries = @kde_libraries@
+kde_libs_htmldir = @kde_libs_htmldir@
+kde_libs_prefix = @kde_libs_prefix@
+kde_locale = @kde_locale@
+kde_mimedir = @kde_mimedir@
+kde_moduledir = @kde_moduledir@
+kde_qtver = @kde_qtver@
+kde_servicesdir = @kde_servicesdir@
+kde_servicetypesdir = @kde_servicetypesdir@
+kde_sounddir = @kde_sounddir@
+kde_styledir = @kde_styledir@
+kde_templatesdir = @kde_templatesdir@
+kde_wallpaperdir = @kde_wallpaperdir@
+kde_widgetdir = @kde_widgetdir@
+kdeinitdir = @kdeinitdir@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+path_su = @path_su@
+path_sudo = @path_sudo@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+qt_includes = @qt_includes@
+qt_libraries = @qt_libraries@
+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@
+x_includes = @x_includes@
+x_libraries = @x_libraries@
+xdg_appsdir = @xdg_appsdir@
+xdg_directorydir = @xdg_directorydir@
+xdg_menudir = @xdg_menudir@
+#>- METASOURCES = AUTO
+AM_CPPFLAGS = -I$(top_srcdir)/kspell2 -I$(top_srcdir) $(all_includes) $(ENCHANT_CFLAGS)
+
+# For the future: examine if condensing the tons of *_LDFLAGS variables
+# into $(all_libraries) isn't better
+AM_LDFLAGS = $(LDFLAGS_AS_NEEDED) $(LDFLAGS_NEW_DTAGS)
+kde_module_LTLIBRARIES = kspell_enchant.la
+kspell_enchant_la_SOURCES = enchantclient.cpp enchantdict.cpp
+kspell_enchant_la_LDFLAGS = -module -no-undefined $(KDE_PLUGIN)
+kspell_enchant_la_LIBADD = ../../ui/libkspell2.la $(ENCHANT_LIBS)
+service_DATA = kspell_enchant.desktop
+servicedir = $(kde_servicesdir)
+#>- all: all-am
+#>+ 1
+all: docs-am all-am
+
+.SUFFIXES:
+.SUFFIXES: .cpp .lo .o .obj
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+#>- @for dep in $?; do \
+#>- case '$(am__configure_deps)' in \
+#>- *$$dep*) \
+#>- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+#>- && exit 0; \
+#>- exit 1;; \
+#>- esac; \
+#>- done; \
+#>- echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign kspell2/plugins/enchant/Makefile'; \
+#>- cd $(top_srcdir) && \
+#>- $(AUTOMAKE) --foreign kspell2/plugins/enchant/Makefile
+#>+ 12
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign kspell2/plugins/enchant/Makefile'; \
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --foreign kspell2/plugins/enchant/Makefile
+ cd $(top_srcdir) && perl admin/am_edit kspell2/plugins/enchant/Makefile.in
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+install-kde_moduleLTLIBRARIES: $(kde_module_LTLIBRARIES)
+ @$(NORMAL_INSTALL)
+ test -z "$(kde_moduledir)" || $(MKDIR_P) "$(DESTDIR)$(kde_moduledir)"
+ @list='$(kde_module_LTLIBRARIES)'; for p in $$list; do \
+ if test -f $$p; then \
+ f=$(am__strip_dir) \
+ echo " $(LIBTOOL) --mode=install $(kde_moduleLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(kde_moduledir)/$$f'"; \
+ $(LIBTOOL) --mode=install $(kde_moduleLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(kde_moduledir)/$$f"; \
+ else :; fi; \
+ done
+
+uninstall-kde_moduleLTLIBRARIES:
+ @$(NORMAL_UNINSTALL)
+ @list='$(kde_module_LTLIBRARIES)'; for p in $$list; do \
+ p=$(am__strip_dir) \
+ echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(kde_moduledir)/$$p'"; \
+ $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(kde_moduledir)/$$p"; \
+ done
+
+clean-kde_moduleLTLIBRARIES:
+ -test -z "$(kde_module_LTLIBRARIES)" || rm -f $(kde_module_LTLIBRARIES)
+ @list='$(kde_module_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
+kspell_enchant.la: $(kspell_enchant_la_OBJECTS) $(kspell_enchant_la_DEPENDENCIES)
+ $(kspell_enchant_la_LINK) -rpath $(kde_moduledir) $(kspell_enchant_la_OBJECTS) $(kspell_enchant_la_LIBADD) $(LIBS)
+
+mostlyclean-compile:
+ -rm -f *.$(OBJEXT)
+
+distclean-compile:
+ -rm -f *.tab.c
+
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/enchantclient.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/enchantdict.Plo@am__quote@
+
+.cpp.o:
+@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
+@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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
+install-serviceDATA: $(service_DATA)
+ @$(NORMAL_INSTALL)
+ test -z "$(servicedir)" || $(MKDIR_P) "$(DESTDIR)$(servicedir)"
+ @list='$(service_DATA)'; for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ f=$(am__strip_dir) \
+ echo " $(serviceDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(servicedir)/$$f'"; \
+ $(serviceDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(servicedir)/$$f"; \
+ done
+
+uninstall-serviceDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(service_DATA)'; for p in $$list; do \
+ f=$(am__strip_dir) \
+ echo " rm -f '$(DESTDIR)$(servicedir)/$$f'"; \
+ rm -f "$(DESTDIR)$(servicedir)/$$f"; \
+ 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; } \
+ END { for (i in files) print i; }'`; \
+ mkid -fID $$unique
+tags: TAGS
+
+TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) ' { files[$$0] = 1; } \
+ END { 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: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) ' { files[$$0] = 1; } \
+ END { 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)
+ @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
+check-am: all-am
+check: check-am
+all-am: Makefile $(LTLIBRARIES) $(DATA)
+installdirs:
+ for dir in "$(DESTDIR)$(kde_moduledir)" "$(DESTDIR)$(servicedir)"; do \
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+ done
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ `test -z '$(STRIP)' || \
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+#>- clean: clean-am
+#>+ 1
+clean: kde-rpo-clean clean-am
+
+#>- clean-am: clean-generic clean-kde_moduleLTLIBRARIES clean-libtool \
+#>- mostlyclean-am
+#>+ 2
+clean-am: clean-metasources clean-bcheck clean-final clean-generic clean-kde_moduleLTLIBRARIES clean-libtool \
+ mostlyclean-am
+
+distclean: distclean-am
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+ distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+info: info-am
+
+info-am:
+
+#>- install-data-am: install-kde_moduleLTLIBRARIES install-serviceDATA
+#>+ 1
+install-data-am: install-serviceDATA
+
+install-dvi: install-dvi-am
+
+#>- install-exec-am:
+#>+ 1
+install-exec-am: install-kde_moduleLTLIBRARIES
+
+install-html: install-html-am
+
+install-info: install-info-am
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-ps: install-ps-am
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
+ mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-kde_moduleLTLIBRARIES uninstall-serviceDATA
+
+.MAKE: install-am install-strip
+
+.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
+ clean-kde_moduleLTLIBRARIES clean-libtool ctags distclean \
+ distclean-compile distclean-generic distclean-libtool \
+ distclean-tags distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am \
+ install-kde_moduleLTLIBRARIES install-man install-pdf \
+ install-pdf-am install-ps install-ps-am install-serviceDATA \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
+ pdf pdf-am ps ps-am tags uninstall uninstall-am \
+ uninstall-kde_moduleLTLIBRARIES uninstall-serviceDATA
+
+# 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:
+
+#>+ 3
+enchantclient.moc: $(srcdir)/enchantclient.h
+ $(MOC) $(srcdir)/enchantclient.h -o enchantclient.moc
+
+#>+ 2
+mocs: enchantclient.moc
+
+#>+ 3
+clean-metasources:
+ -rm -f enchantclient.moc
+
+#>+ 2
+KDE_DIST=Makefile.in kspell_enchant.desktop enchantclient.h enchantdict.h Makefile.am
+
+#>+ 2
+docs-am:
+
+#>+ 15
+force-reedit:
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign kspell2/plugins/enchant/Makefile'; \
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --foreign kspell2/plugins/enchant/Makefile
+ cd $(top_srcdir) && perl admin/am_edit kspell2/plugins/enchant/Makefile.in
+
+
+#>+ 21
+clean-bcheck:
+ rm -f *.bchecktest.cc *.bchecktest.cc.class a.out
+
+bcheck: bcheck-am
+
+bcheck-am:
+ @for i in ; do \
+ if test $(srcdir)/$$i -nt $$i.bchecktest.cc; then \
+ echo "int main() {return 0;}" > $$i.bchecktest.cc ; \
+ echo "#include \"$$i\"" >> $$i.bchecktest.cc ; \
+ echo "$$i"; \
+ if ! $(CXXCOMPILE) --dump-class-hierarchy -c $$i.bchecktest.cc; then \
+ rm -f $$i.bchecktest.cc; exit 1; \
+ fi ; \
+ echo "" >> $$i.bchecktest.cc.class; \
+ perl $(top_srcdir)/admin/bcheck.pl $$i.bchecktest.cc.class || { rm -f $$i.bchecktest.cc; exit 1; }; \
+ rm -f a.out; \
+ fi ; \
+ done
+
+
+#>+ 11
+kspell_enchant_la.all_cpp.cpp: $(srcdir)/Makefile.in $(srcdir)/enchantclient.cpp $(srcdir)/enchantdict.cpp enchantclient.moc
+ @echo 'creating kspell_enchant_la.all_cpp.cpp ...'; \
+ rm -f kspell_enchant_la.all_cpp.files kspell_enchant_la.all_cpp.final; \
+ echo "#define KDE_USE_FINAL 1" >> kspell_enchant_la.all_cpp.final; \
+ for file in enchantclient.cpp enchantdict.cpp ; do \
+ echo "#include \"$$file\"" >> kspell_enchant_la.all_cpp.files; \
+ test ! -f $(srcdir)/$$file || egrep '^#pragma +implementation' $(srcdir)/$$file >> kspell_enchant_la.all_cpp.final; \
+ done; \
+ cat kspell_enchant_la.all_cpp.final kspell_enchant_la.all_cpp.files > kspell_enchant_la.all_cpp.cpp; \
+ rm -f kspell_enchant_la.all_cpp.final kspell_enchant_la.all_cpp.files
+
+#>+ 3
+clean-final:
+ -rm -f kspell_enchant_la.all_cpp.cpp
+
+#>+ 3
+final:
+ $(MAKE) kspell_enchant_la_OBJECTS="$(kspell_enchant_la_final_OBJECTS)" all-am
+
+#>+ 3
+final-install:
+ $(MAKE) kspell_enchant_la_OBJECTS="$(kspell_enchant_la_final_OBJECTS)" install-am
+
+#>+ 3
+no-final:
+ $(MAKE) kspell_enchant_la_OBJECTS="$(kspell_enchant_la_nofinal_OBJECTS)" all-am
+
+#>+ 3
+no-final-install:
+ $(MAKE) kspell_enchant_la_OBJECTS="$(kspell_enchant_la_nofinal_OBJECTS)" install-am
+
+#>+ 3
+kde-rpo-clean:
+ -rm -f *.rpo
+
+#>+ 5
+nmcheck:
+enchantclient.lo: enchantclient.moc
+enchantclient.o: enchantclient.moc
+nmcheck-am: nmcheck
diff -Nur kdelibs-3.5.8/kspell2/plugins/Makefile.am kdelibs-3.5.8-kspell2-enchant/kspell2/plugins/Makefile.am
--- kdelibs-3.5.8/kspell2/plugins/Makefile.am 2005-09-10 10:27:02.000000000 +0200
+++ kdelibs-3.5.8-kspell2-enchant/kspell2/plugins/Makefile.am 2007-12-21 20:39:46.000000000 +0100
@@ -6,4 +6,4 @@
LIBHSPELLPLUGIN = hspell
endif
-SUBDIRS = $(LIBASPELLPLUGIN) $(LIBHSPELLPLUGIN) ispell
+SUBDIRS = enchant $(LIBASPELLPLUGIN) $(LIBHSPELLPLUGIN) ispell
diff -Nur kdelibs-3.5.8/kspell2/plugins/Makefile.in kdelibs-3.5.8-kspell2-enchant/kspell2/plugins/Makefile.in
--- kdelibs-3.5.8/kspell2/plugins/Makefile.in 2007-10-08 16:42:21.000000000 +0200
+++ kdelibs-3.5.8-kspell2-enchant/kspell2/plugins/Makefile.in 2007-12-21 20:40:22.000000000 +0100
@@ -68,7 +68,7 @@
distclean-recursive maintainer-clean-recursive
ETAGS = etags
CTAGS = ctags
-DIST_SUBDIRS = aspell hspell ispell
+DIST_SUBDIRS = enchant aspell hspell ispell
#>- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
#>+ 1
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) $(KDE_DIST)
@@ -377,7 +377,7 @@
xdg_menudir = @xdg_menudir@
@include_aspell_plugin_TRUE@LIBASPELLPLUGIN = aspell
@include_hspell_plugin_TRUE@LIBHSPELLPLUGIN = hspell
-SUBDIRS = $(LIBASPELLPLUGIN) $(LIBHSPELLPLUGIN) ispell
+SUBDIRS = enchant $(LIBASPELLPLUGIN) $(LIBHSPELLPLUGIN) ispell
#>- all: all-recursive
#>+ 1
all: docs-am all-recursive