]> git.sesse.net Git - vlc/commitdiff
Remove dead and ugly code of mine
authorRémi Denis-Courmont <rem@videolan.org>
Mon, 21 Apr 2008 18:54:50 +0000 (21:54 +0300)
committerRémi Denis-Courmont <rem@videolan.org>
Mon, 21 Apr 2008 18:54:50 +0000 (21:54 +0300)
modules/common.am

index fab4fb354e1bc6227cbe2452935d0fc493adcd26..2907e044b2893b7a72d6be797200692267669286 100644 (file)
@@ -6,8 +6,7 @@
 # Authors: Sam Hocevar <sam@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}