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



commit b907a4aa116d17ccf193d0e382400950447c769d
Author: Philip Withnall <philip tecnocode co uk>
Date:   Sun Sep 5 14:35:13 2010 +0100

    Clean up LDFLAGS in browser-plugin/Makefile.am

 browser-plugin/Makefile.am |   30 ++++++++++--------------------
 1 files changed, 10 insertions(+), 20 deletions(-)
---
diff --git a/browser-plugin/Makefile.am b/browser-plugin/Makefile.am
index bf9e68b..a49942c 100644
--- a/browser-plugin/Makefile.am
+++ b/browser-plugin/Makefile.am
@@ -17,6 +17,12 @@ AM_CPPFLAGS = \
 	-DLIBEXECDIR="\"$(libexecdir)\""		\
 	$(DISABLE_DEPRECATED)
 
+plugin_ldflags = \
+	-avoid-version					\
+	-export-symbols $(srcdir)/plugin.symbols	\
+	-module						\
+	$(AM_LDFLAGS)
+
 # Marshaller
 MARSHAL_FILES = \
 	marshal.h	\
@@ -153,11 +159,7 @@ libtotem_gmp_plugin_la_LIBADD = \
 	$(DBUS_LIBS)			\
 	$(BROWSER_PLUGIN_LIBS)
 
-libtotem_gmp_plugin_la_LDFLAGS = \
-	-avoid-version	\
-	-export-symbols $(srcdir)/plugin.symbols \
-	-module		\
-	$(AM_LDFLAGS)
+libtotem_gmp_plugin_la_LDFLAGS = $(plugin_ldflags)
 endif
 
 # Totem NarrowSpace Plugin
@@ -201,11 +203,7 @@ libtotem_narrowspace_plugin_la_LIBADD = \
 	$(DBUS_LIBS)			\
 	$(BROWSER_PLUGIN_LIBS)
 
-libtotem_narrowspace_plugin_la_LDFLAGS = \
-	-avoid-version	\
-	-export-symbols $(srcdir)/plugin.symbols \
-	-module		\
-	$(AM_LDFLAGS)
+libtotem_narrowspace_plugin_la_LDFLAGS = $(plugin_ldflags)
 endif
 
 # Totem MULLY Plugin
@@ -249,11 +247,7 @@ libtotem_mully_plugin_la_LIBADD = \
 	$(DBUS_LIBS)			\
 	$(BROWSER_PLUGIN_LIBS)
 
-libtotem_mully_plugin_la_LDFLAGS = \
-	-avoid-version	\
-	-export-symbols $(srcdir)/plugin.symbols \
-	-module		\
-	$(AM_LDFLAGS)
+libtotem_mully_plugin_la_LDFLAGS = $(plugin_ldflags)
 endif
 
 # Totem Cone Plugin
@@ -307,11 +301,7 @@ libtotem_cone_plugin_la_LIBADD = \
 	$(DBUS_LIBS)			\
 	$(BROWSER_PLUGIN_LIBS)
 
-libtotem_cone_plugin_la_LDFLAGS = \
-	-avoid-version	\
-	-export-symbols $(srcdir)/plugin.symbols \
-	-module		\
-	$(AM_LDFLAGS)
+libtotem_cone_plugin_la_LDFLAGS = $(plugin_ldflags)
 endif
 
 -include $(top_srcdir)/git.mk



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