[totem] Clean up the LDFLAGS in src/Makefile.am



commit bb0dc2f84ffeb1e8a9b2fb6531280b31d1a553da
Author: Philip Withnall <philip tecnocode co uk>
Date:   Sun Sep 5 13:34:16 2010 +0100

    Clean up the LDFLAGS in src/Makefile.am

 src/Makefile.am |   26 +++-----------------------
 1 files changed, 3 insertions(+), 23 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index 41b9679..bfea19b 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -21,8 +21,6 @@ AM_CPPFLAGS = \
 
 AM_CFLAGS = $(WARN_CFLAGS)
 
-modules_flags = -export_dynamic -avoid-version -module -no-undefined
-
 # Header files installed for use by plugins (and consequently introspected using gobject-introspection; see the bottom of the Makefile)
 
 INST_H_FILES = \
@@ -59,9 +57,6 @@ libtotem_player_la_CFLAGS = \
 	$(DEPENDENCY_CFLAGS)	\
 	$(AM_CFLAGS)
 
-libtotem_player_la_LDFLAGS = \
-	$(AM_LDFLAGS) 
-
 # Totem main library (used for main player; separate to allow gtk-doc to be used)
 
 libtotem_la_SOURCES = \
@@ -112,8 +107,8 @@ libtotem_la_CFLAGS = \
 	$(PEASUI_CFLAGS)		\
 	$(AM_CFLAGS)
 
-libtotem_la_LDFLAGS =		\
-	-export_dynamic			\
+libtotem_la_LDFLAGS = \
+	-export_dynamic	\
 	$(AM_LDFLAGS)
 
 libtotem_la_LIBADD = \
@@ -180,9 +175,6 @@ totem_CFLAGS = \
 	$(DEPENDENCY_CFLAGS)	\
 	$(AM_CFLAGS)
 
-totem_LDFLAGS =				\
-	$(AM_LDFLAGS)
-
 totem_LDADD = \
 	libtotem.la		\
 	$(DEPENDENCY_LIBS)	\
@@ -203,9 +195,6 @@ totem_video_thumbnailer_CFLAGS = \
 	$(DEPENDENCY_CFLAGS)	\
 	$(AM_CFLAGS)
 
-totem_video_thumbnailer_LDFLAGS = \
-	$(AM_LDFLAGS)
-
 totem_video_thumbnailer_LDADD =			\
 	backend/libbaconvideowidget.la		\
 	$(DEPENDENCY_LIBS)
@@ -234,7 +223,7 @@ libtotem_properties_page_la_CFLAGS = \
 	$(AM_CFLAGS)
 
 libtotem_properties_page_la_LDFLAGS = \
-	$(modules_flags)	\
+	-export_dynamic -avoid-version -module -no-undefined	\
 	$(AM_LDFLAGS)
 
 libtotem_properties_page_la_LIBADD =				\
@@ -262,9 +251,6 @@ test_properties_page_CFLAGS = \
 	$(NAUTILUS_CFLAGS)	\
 	$(AM_CFLAGS)
 
-test_properties_page_LDFLAGS = \
-	$(AM_LDFLAGS)
-
 test_properties_page_LDADD = 					\
 	backend/libbaconvideowidget.la				\
 	plugins/properties/libbaconvideowidgetproperties.la	\
@@ -290,9 +276,6 @@ totem_video_indexer_CFLAGS = \
 	$(DEPENDENCY_CFLAGS)	\
 	$(AM_CFLAGS)
 
-totem_video_indexer_LDFLAGS = \
-	$(AM_LDFLAGS)
-
 totem_video_indexer_LDADD = \
 	backend/libbaconvideowidget.la	\
 	$(DEPENDENCY_LIBS)
@@ -312,9 +295,6 @@ totem_audio_preview_CFLAGS = \
 	$(DEPENDENCY_CFLAGS)	\
 	$(AM_CFLAGS)
 
-totem_audio_preview_LDFLAGS = \
-	$(AM_LDFLAGS)
-
 totem_audio_preview_LDADD = \
 	backend/libbaconvideowidget.la	\
 	$(DEPENDENCY_LIBS)



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