[vlc-devel] commit: Remove dead and ugly code of mine ( Rémi Denis-Courmont )

git version control git at videolan.org
Mon Apr 21 20:53:51 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Mon Apr 21 21:54:50 2008 +0300| [2040035d0fc94a30b27850f8bb9f86c0093cf992]

Remove dead and ugly code of mine

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2040035d0fc94a30b27850f8bb9f86c0093cf992
---

 modules/common.am |   15 +--------------
 1 files changed, 1 insertions(+), 14 deletions(-)

diff --git a/modules/common.am b/modules/common.am
index fab4fb3..2907e04 100644
--- a/modules/common.am
+++ b/modules/common.am
@@ -6,8 +6,7 @@
 # Authors: Sam Hocevar <sam at zoy.org>
 
 NULL =
-SUFFIXES = _plugin$(LIBEXT) _plugin.la
-
+SUFFIXES =
 libvlcdir = $(libdir)/vlc/$(basedir)
 libvlc_LTLIBRARIES =
 EXTRA_DIST = Modules.am
@@ -47,18 +46,6 @@ all-modules:
 	`; case "$$targets" in *lib*) $(MAKE) $(AM_MAKEFLAGS) $$targets || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; ;; esac; \
 	test -z "$$fail"
 
-# Build a plugin with the adequate linker and linker's flags
-_plugin.la_plugin$(LIBEXT):
-	@mod="$*" ; mod=$${mod#lib} ; \
-	ldfl="`$(VLC_CONFIG) --libs plugin $$mod` $(LIBVLC) -u $(SYMPREF)$(VLC_ENTRY)" ; \
-	case `$(VLC_CONFIG) --linkage $$mod` in \
-	  c++)  ld="$(CXXLINK)" ;; \
-	  objc) ld="$(OBJCLINK)" ;; \
-	  c|*)  ld="$(LINK)" ;; \
-	esac ; \
-	echo $$ld $< $$ldfl ; \
-	$$ld $< $$ldfl
-
 if MAINTAINER_MODE
 $(srcdir)/Makefile.am: $(srcdir)/Modules.am $(top_srcdir)/modules/genmf
 	cd \$(top_srcdir) && \$(SHELL) modules/genmf ${dir}




More information about the vlc-devel mailing list