[gedit] Plugins need code from shared libgedit, so link them to it



commit f9931fdd621c34f52b6a489f440f0ccd40a57a14
Author: Руслан Ижбулатов <lrn1986 gmail com>
Date:   Sat Apr 5 12:48:46 2014 +0000

    Plugins need code from shared libgedit, so link them to it
    
    https://bugzilla.gnome.org/show_bug.cgi?id=727663

 plugins/checkupdate/Makefile.am |    5 ++++-
 plugins/docinfo/Makefile.am     |    4 +++-
 plugins/filebrowser/Makefile.am |    4 +++-
 plugins/modelines/Makefile.am   |    4 +++-
 plugins/sort/Makefile.am        |    4 +++-
 plugins/spell/Makefile.am       |    5 ++++-
 plugins/time/Makefile.am        |    4 +++-
 plugins/zeitgeist/Makefile.am   |    5 ++++-
 8 files changed, 27 insertions(+), 8 deletions(-)
---
diff --git a/plugins/checkupdate/Makefile.am b/plugins/checkupdate/Makefile.am
index 1b82065..5978900 100644
--- a/plugins/checkupdate/Makefile.am
+++ b/plugins/checkupdate/Makefile.am
@@ -7,7 +7,10 @@ plugins_checkupdate_libcheckupdate_la_SOURCES =                        \
        plugins/checkupdate/gedit-check-update-plugin.c
 
 plugins_checkupdate_libcheckupdate_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS)
-plugins_checkupdate_libcheckupdate_la_LIBADD = $(GEDIT_LIBS) $(LIBSOUP_LIBS)
+plugins_checkupdate_libcheckupdate_la_LIBADD = \
+       $(top_builddir)/gedit/libgedit.la       \
+       $(GEDIT_LIBS)                           \
+       $(LIBSOUP_LIBS)
 plugins_checkupdate_libcheckupdate_la_CPPFLAGS = -I$(top_srcdir)
 plugins_checkupdate_libcheckupdate_la_CFLAGS = \
        $(GEDIT_CFLAGS)                         \
diff --git a/plugins/docinfo/Makefile.am b/plugins/docinfo/Makefile.am
index 817a60c..f704fc2 100644
--- a/plugins/docinfo/Makefile.am
+++ b/plugins/docinfo/Makefile.am
@@ -6,7 +6,9 @@ plugins_docinfo_libdocinfo_la_SOURCES =                 \
        plugins/docinfo/gedit-docinfo-resources.c
 
 plugins_docinfo_libdocinfo_la_LDFLAGS  = $(PLUGIN_LIBTOOL_FLAGS)
-plugins_docinfo_libdocinfo_la_LIBADD   = $(GEDIT_LIBS)
+plugins_docinfo_libdocinfo_la_LIBADD   =       \
+       $(top_builddir)/gedit/libgedit.la       \
+       $(GEDIT_LIBS)
 plugins_docinfo_libdocinfo_la_CPPFLAGS = -I$(top_srcdir)
 plugins_docinfo_libdocinfo_la_CFLAGS   =               \
        $(GEDIT_CFLAGS)                                 \
diff --git a/plugins/filebrowser/Makefile.am b/plugins/filebrowser/Makefile.am
index 7a662d8..578f3eb 100644
--- a/plugins/filebrowser/Makefile.am
+++ b/plugins/filebrowser/Makefile.am
@@ -1,7 +1,9 @@
 plugin_LTLIBRARIES += plugins/filebrowser/libfilebrowser.la
 
 plugins_filebrowser_libfilebrowser_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS)
-plugins_filebrowser_libfilebrowser_la_LIBADD = $(GEDIT_LIBS)
+plugins_filebrowser_libfilebrowser_la_LIBADD = \
+       $(top_builddir)/gedit/libgedit.la       \
+       $(GEDIT_LIBS)
 plugins_filebrowser_libfilebrowser_la_CPPFLAGS =                       \
        -I$(top_srcdir)                                                 \
        -I$(top_builddir)/plugins/filebrowser
diff --git a/plugins/modelines/Makefile.am b/plugins/modelines/Makefile.am
index f0c30f7..a11ff8d 100644
--- a/plugins/modelines/Makefile.am
+++ b/plugins/modelines/Makefile.am
@@ -1,7 +1,9 @@
 plugin_LTLIBRARIES += plugins/modelines/libmodelines.la
 
 plugins_modelines_libmodelines_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS)
-plugins_modelines_libmodelines_la_LIBADD = $(GEDIT_LIBS)
+plugins_modelines_libmodelines_la_LIBADD =     \
+       $(top_builddir)/gedit/libgedit.la       \
+       $(GEDIT_LIBS)
 plugins_modelines_libmodelines_la_CPPFLAGS = -I$(top_srcdir)
 plugins_modelines_libmodelines_la_CFLAGS =             \
        $(GEDIT_CFLAGS)                                 \
diff --git a/plugins/sort/Makefile.am b/plugins/sort/Makefile.am
index 08eb2d9..ddc6bde 100644
--- a/plugins/sort/Makefile.am
+++ b/plugins/sort/Makefile.am
@@ -1,7 +1,9 @@
 plugin_LTLIBRARIES += plugins/sort/libsort.la
 
 plugins_sort_libsort_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS)
-plugins_sort_libsort_la_LIBADD = $(GEDIT_LIBS)
+plugins_sort_libsort_la_LIBADD =               \
+       $(top_builddir)/gedit/libgedit.la       \
+       $(GEDIT_LIBS)
 plugins_sort_libsort_la_CPPFLAGS = -I$(top_srcdir)
 plugins_sort_libsort_la_CFLAGS =                       \
        $(GEDIT_CFLAGS)                                 \
diff --git a/plugins/spell/Makefile.am b/plugins/spell/Makefile.am
index 4e9d7f9..a9c910b 100644
--- a/plugins/spell/Makefile.am
+++ b/plugins/spell/Makefile.am
@@ -3,7 +3,10 @@ if ENABLE_ENCHANT
 plugin_LTLIBRARIES += plugins/spell/libspell.la
 
 plugins_spell_libspell_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS)
-plugins_spell_libspell_la_LIBADD  = $(GEDIT_LIBS) $(ENCHANT_LIBS)
+plugins_spell_libspell_la_LIBADD  =            \
+       $(top_builddir)/gedit/libgedit.la       \
+       $(GEDIT_LIBS)                           \
+       $(ENCHANT_LIBS)
 
 plugins_spell_libspell_la_CPPFLAGS =                           \
        -I$(top_srcdir)                                         \
diff --git a/plugins/time/Makefile.am b/plugins/time/Makefile.am
index d4c6619..65b4cf2 100644
--- a/plugins/time/Makefile.am
+++ b/plugins/time/Makefile.am
@@ -1,7 +1,9 @@
 plugin_LTLIBRARIES += plugins/time/libtime.la
 
 plugins_time_libtime_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS)
-plugins_time_libtime_la_LIBADD = $(GEDIT_LIBS)
+plugins_time_libtime_la_LIBADD =               \
+       $(top_builddir)/gedit/libgedit.la       \
+       $(GEDIT_LIBS)
 plugins_time_libtime_la_CPPFLAGS = -I$(top_srcdir)
 plugins_time_libtime_la_CFLAGS =                       \
        $(GEDIT_CFLAGS)                                 \
diff --git a/plugins/zeitgeist/Makefile.am b/plugins/zeitgeist/Makefile.am
index ffb0c72..fca4e67 100644
--- a/plugins/zeitgeist/Makefile.am
+++ b/plugins/zeitgeist/Makefile.am
@@ -3,7 +3,10 @@ if ENABLE_ZEITGEIST
 plugin_LTLIBRARIES += plugins/zeitgeist/libzeitgeist.la
 
 plugins_zeitgeist_libzeitgeist_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS)
-plugins_zeitgeist_libzeitgeist_la_LIBADD = $(GEDIT_LIBS) $(ZEITGEIST_LIBS)
+plugins_zeitgeist_libzeitgeist_la_LIBADD =     \
+       $(top_builddir)/gedit/libgedit.la       \
+       $(GEDIT_LIBS)                           \
+       $(ZEITGEIST_LIBS)
 plugins_zeitgeist_libzeitgeist_la_CPPFLAGS = -I$(top_srcdir)
 plugins_zeitgeist_libzeitgeist_la_CFLAGS =                     \
        $(GEDIT_CFLAGS)                                 \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]