[totem] Clean up LIBADD in browser-plugin/Makefile.am



commit 26681a4eaf433ffca94c8c0b6b1a4260e17017ed
Author: Philip Withnall <philip tecnocode co uk>
Date:   Sun Sep 5 14:37:03 2010 +0100

    Clean up LIBADD in browser-plugin/Makefile.am

 browser-plugin/Makefile.am |   29 +++++++++--------------------
 1 files changed, 9 insertions(+), 20 deletions(-)
---
diff --git a/browser-plugin/Makefile.am b/browser-plugin/Makefile.am
index a49942c..21b1fb0 100644
--- a/browser-plugin/Makefile.am
+++ b/browser-plugin/Makefile.am
@@ -17,6 +17,11 @@ AM_CPPFLAGS = \
 	-DLIBEXECDIR="\"$(libexecdir)\""		\
 	$(DISABLE_DEPRECATED)
 
+plugin_libadd = \
+	libtotembrowserplugin_helper.la	\
+	$(DBUS_LIBS)			\
+	$(BROWSER_PLUGIN_LIBS)
+
 plugin_ldflags = \
 	-avoid-version					\
 	-export-symbols $(srcdir)/plugin.symbols	\
@@ -154,11 +159,7 @@ libtotem_gmp_plugin_la_CXXFLAGS = \
 	$(PLUGIN_EXTRA_WARN_CXXFLAGS)	\
 	$(AM_CXXFLAGS)
 
-libtotem_gmp_plugin_la_LIBADD = \
-	libtotembrowserplugin_helper.la	\
-	$(DBUS_LIBS)			\
-	$(BROWSER_PLUGIN_LIBS)
-
+libtotem_gmp_plugin_la_LIBADD = $(plugin_libadd)
 libtotem_gmp_plugin_la_LDFLAGS = $(plugin_ldflags)
 endif
 
@@ -198,11 +199,7 @@ libtotem_narrowspace_plugin_la_CXXFLAGS = \
 	$(PLUGIN_EXTRA_WARN_CXXFLAGS)	\
 	$(AM_CXXFLAGS)
 
-libtotem_narrowspace_plugin_la_LIBADD = \
-	libtotembrowserplugin_helper.la	\
-	$(DBUS_LIBS)			\
-	$(BROWSER_PLUGIN_LIBS)
-
+libtotem_narrowspace_plugin_la_LIBADD = $(plugin_libadd)
 libtotem_narrowspace_plugin_la_LDFLAGS = $(plugin_ldflags)
 endif
 
@@ -242,11 +239,7 @@ libtotem_mully_plugin_la_CXXFLAGS = \
 	$(PLUGIN_EXTRA_WARN_CXXFLAGS)	\
 	$(AM_CXXFLAGS)
 
-libtotem_mully_plugin_la_LIBADD = \
-	libtotembrowserplugin_helper.la	\
-	$(DBUS_LIBS)			\
-	$(BROWSER_PLUGIN_LIBS)
-
+libtotem_mully_plugin_la_LIBADD = $(plugin_libadd)
 libtotem_mully_plugin_la_LDFLAGS = $(plugin_ldflags)
 endif
 
@@ -296,11 +289,7 @@ libtotem_cone_plugin_la_CXXFLAGS = \
 	$(PLUGIN_EXTRA_WARN_CXXFLAGS)	\
 	$(AM_CXXFLAGS)
 
-libtotem_cone_plugin_la_LIBADD = \
-	libtotembrowserplugin_helper.la	\
-	$(DBUS_LIBS)			\
-	$(BROWSER_PLUGIN_LIBS)
-
+libtotem_cone_plugin_la_LIBADD = $(plugin_libadd)
 libtotem_cone_plugin_la_LDFLAGS = $(plugin_ldflags)
 endif
 



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