~ubuntu-branches/ubuntu/maverick/vlc/maverick

« back to all changes in this revision

Viewing changes to modules/codec/ffmpeg/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2008-09-17 21:56:14 UTC
  • mfrom: (1.1.17 upstream)
  • Revision ID: james.westby@ubuntu.com-20080917215614-tj0vx8xzd57e52t8
Tags: 0.9.2-1ubuntu1
* New Upstream Release, exception granted by
    - dktrkranz, norsetto, Hobbsee (via irc). LP: #270404

Changes done in ubuntu:

* add libxul-dev to build-depends
* make sure that vlc is build against libxul in configure. This doesn't
  change anything in the package, but makes it more robust if building
  in an 'unclean' chroot or when modifying the package.
* debian/control: make Vcs-* fields point to the motumedia branch
* add libx264-dev and libass-dev to build-depends
  LP: #210354, #199870
* actually enable libass support by passing --enable-libass to configure
* enable libdca: add libdca-dev to build depends and --enable-libdca
* install the x264 plugin.

Changes already in the pkg-multimedia branch in debian:

* don't install usr/share/vlc/mozilla in debian/mozilla-plugin-vlc.install  
* new upstream .desktop file now registers flash video mimetype LP: #261567
* add Xb-Npp-Applications to mozilla-plugin-vlc
* remove duplicate entries in debian/vlc-nox.install

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
# modules/codec/ffmpeg/Makefile.am automatically generated from modules/codec/ffmpeg/Modules.am by bootstrap
3
 
# DO NOT EDIT - edit Modules.am or $(top_srcdir)/bootstrap instead
4
 
 
5
 
basedir = codec
6
 
mods = ffmpeg ffmpegaltivec
7
 
 
8
 
NULL =
9
 
libvlc_LTLIBRARIES =
10
 
noinst_LTLIBRARIES =
11
 
EXTRA_DIST = Modules.am
12
 
BUILT_SOURCES =
13
 
clean_modules =
14
 
SUBDIRS = 
15
 
SUFFIXES = _plugin$(LIBEXT) _plugin.a
16
 
 
17
 
libvlcdir = $(libdir)/vlc/$(basedir)
18
 
 
19
 
EXTRA_LIBRARIES =  libffmpeg_plugin.a libffmpeg.a libffmpegaltivec_plugin.a libffmpegaltivec.a
20
 
EXTRA_LTLIBRARIES =  libffmpeg_plugin.la libffmpeg_builtin.la libffmpegaltivec_plugin.la libffmpegaltivec_builtin.la
21
 
 
22
 
include Modules.am
23
 
 
24
 
LTLIBVLC = $(top_builddir)/src/libvlc.la
25
 
 
26
 
if BUILD_SHARED
27
 
LIBVLC = $(top_builddir)/src/libvlc$(LIBEXT)
28
 
LIBADD = $(LIBVLC)
29
 
endif
30
 
 
31
 
all: all-modules
32
 
 
33
 
# Find out which modules were enabled and tell make to build them
34
 
all-modules:
35
 
if USE_LIBTOOL
36
 
        @set fnord $$MAKEFLAGS; amf=$$2; targets=`\
37
 
        if test "$(plugin)" != "no"; then z=$$($(VLC_CONFIG) --list plugin); for mod in $(mods); do case "$$z " in *\ $${mod}\ *) echo lib$${mod}_plugin.la;; esac; done; fi; \
38
 
        if test "$(builtin)" != "no"; then z=$$($(VLC_CONFIG) --list builtin); for mod in $(mods); do case "$$z " in *\ $${mod}\ *) echo lib$${mod}_builtin.la;; esac; done; fi; \
39
 
        `; case "$$targets" in *lib*) $(MAKE) $(AM_MAKEFLAGS) $$targets || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; ;; esac; \
40
 
        test -z "$$fail"
41
 
else
42
 
        @set fnord $$MAKEFLAGS; amf=$$2; targets=`\
43
 
        if test "$(plugin)" != "no"; then z=$$($(VLC_CONFIG) --list plugin); for mod in $(mods); do case "$$z " in *\ $${mod}\ *) echo lib$${mod}_plugin$(LIBEXT);; esac; done; fi; \
44
 
        if test "$(builtin)" != "no"; then z=$$($(VLC_CONFIG) --list builtin); for mod in $(mods); do case "$$z " in *\ $${mod}\ *) echo lib$${mod}.a;; esac; done; fi; \
45
 
        `; case "$$targets" in *lib*) $(MAKE) $(AM_MAKEFLAGS) $$targets || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; ;; esac; \
46
 
        test -z "$$fail"
47
 
endif
48
 
 
49
 
# Build a plugin with the adequate linker and linker's flags
50
 
_plugin.a_plugin$(LIBEXT):
51
 
        @mod="$*" ; mod=$${mod#lib} ;   ldfl="`$(VLC_CONFIG) --libs plugin $$mod` $(LIBADD) -u $(SYMPREF)$(VLC_ENTRY)" ;        case `$(VLC_CONFIG) --linkage $$mod` in \
52
 
          c++)  ld="$(CXXLINK)" ;;        objc) ld="$(OBJCLINK)" ;;       c|*)  ld="$(LINK)" ;;         esac ;  echo $$ld $< $$ldfl ;   $$ld $< $$ldfl
53
 
#ifneq (,$(findstring cygwin,$(host)))
54
 
#       mv -f "$@.exe" "$@"
55
 
#endif
56
 
        @if test -f "$@.exe"; then mv -f "$@.exe" "$@"; fi
57
 
 
58
 
if MAINTAINER_MODE
59
 
$(srcdir)/Makefile.am: $(srcdir)/Modules.am $(top_srcdir)/bootstrap
60
 
        cd $(top_srcdir) && $(SHELL) ./bootstrap
61
 
endif
62
 
 
63
 
mostlyclean-local:
64
 
if USE_LIBTOOL
65
 
        -rm -f *.la
66
 
else
67
 
        -rm -f *.a *$(LIBEXT)
68
 
endif
69
 
 
70
 
clean-local: $(clean_modules)
71
 
 
72
 
### automake creates libvlcdir after running install-*-local
73
 
### so we have to create it ourselves first
74
 
install-exec-local: all-modules
75
 
if USE_LIBTOOL
76
 
        @if test -z "$(libvlc_LTLIBRARIES)"; then         z=$$($(VLC_CONFIG) --list plugin);      m=`for mod in $(mods); do case "$$z " in *\ $${mod}\ *) echo -n " lib$${mod}_plugin.la" ;; esac; done` ;        test -z "$$m" ||          $(MAKE) $(AM_MAKEFLAGS) libvlc_LTLIBRARIES="$$m" install-libvlcLTLIBRARIES || exit $$? ;    fi
77
 
else
78
 
        mkdir -p -- "$(DESTDIR)$(libvlcdir)"
79
 
        @z=$$($(VLC_CONFIG) --list plugin);     for mod in $(mods); do    case "$$z "       in *\ $${mod}\ *)         echo $(INSTALL_PROGRAM) "lib$${mod}_plugin$(LIBEXT)" "$(DESTDIR)$(libvlcdir)/" ;        $(INSTALL_PROGRAM) "lib$${mod}_plugin$(LIBEXT)" "$(DESTDIR)$(libvlcdir)/" || exit $$?;          ;;          esac;         done
80
 
        @z=$$($(VLC_CONFIG) --list builtin);    for mod in $(mods); do    case "$$z "       in *\ $${mod}\ *)         echo $(INSTALL_DATA) "lib$${mod}.a" "$(DESTDIR)$(libdir)/vlc/" ;        $(INSTALL_DATA) "lib$${mod}.a" "$(DESTDIR)$(libdir)/vlc/" || exit $$?;          ;;          esac;         done
81
 
endif
82
 
 
83
 
uninstall-local:
84
 
if USE_LIBTOOL
85
 
        @if test -z "$(libvlc_LTLIBRARIES)"; then         z=$$($(VLC_CONFIG) --list plugin);      m=`for mod in $(mods); do case "$$z " in *\ $${mod}\ *) echo -n " lib$${mod}_plugin.la" ;; esac; done` ;        test -z "$$m" ||          $(MAKE) $(AM_MAKEFLAGS) libvlc_LTLIBRARIES="$$m" uninstall-libvlcLTLIBRARIES || exit $$?;   fi
86
 
else
87
 
        @z=$$($(VLC_CONFIG) --list plugin);     for mod in $(mods); do    case "$$z "       in *\ $${mod}\ *)         echo rm -f "$(DESTDIR)$(libvlcdir)/lib$${mod}_plugin$(LIBEXT)" ;        rm -f "$(DESTDIR)$(libvlcdir)/lib$${mod}_plugin$(LIBEXT)" || true;              ;;          esac;         done
88
 
        @z=$$($(VLC_CONFIG) --list builtin);    for mod in $(mods); do    case "$$z "       in *\ $${mod}\ *)         echo rm -f "$(DESTDIR)$(libdir)/vlc/lib$${mod}.a" ;             rm -f "$(DESTDIR)$(libdir)/vlc/lib$${mod}.a" || true;           ;;          esac;         done
89
 
endif
90
 
 
91
 
# The ffmpeg plugin
92
 
 
93
 
libffmpeg_plugin_a_SOURCES = $(SOURCES_ffmpeg)
94
 
libffmpeg_plugin_la_SOURCES = $(SOURCES_ffmpeg)
95
 
libffmpeg_plugin_a_CFLAGS = `$(VLC_CONFIG) --cflags plugin ffmpeg`
96
 
libffmpeg_plugin_a_CXXFLAGS = `$(VLC_CONFIG) --cxxflags plugin ffmpeg`
97
 
libffmpeg_plugin_a_OBJCFLAGS = `$(VLC_CONFIG) --objcflags plugin ffmpeg`
98
 
libffmpeg_plugin_la_CFLAGS = `$(VLC_CONFIG) --cflags plugin ffmpeg`
99
 
libffmpeg_plugin_la_CXXFLAGS = `$(VLC_CONFIG) --cxxflags plugin ffmpeg`
100
 
libffmpeg_plugin_la_OBJCFLAGS = `$(VLC_CONFIG) --objcflags plugin ffmpeg`
101
 
libffmpeg_plugin_la_LDFLAGS = `$(VLC_CONFIG) --libs plugin ffmpeg` \
102
 
        -rpath '$(libvlcdir)' -avoid-version -module -shrext $(LIBEXT)
103
 
libffmpeg_plugin_la_LIBADD = $(LTLIBVLC)
104
 
 
105
 
libffmpeg_a_SOURCES = $(SOURCES_ffmpeg)
106
 
libffmpeg_builtin_la_SOURCES = $(SOURCES_ffmpeg)
107
 
libffmpeg_a_CFLAGS = `$(VLC_CONFIG) --cflags builtin pic ffmpeg`
108
 
libffmpeg_a_CXXFLAGS = `$(VLC_CONFIG) --cxxflags builtin pic ffmpeg`
109
 
libffmpeg_a_OBJCFLAGS = `$(VLC_CONFIG) --objcflags builtin pic ffmpeg`
110
 
libffmpeg_builtin_la_CFLAGS = `$(VLC_CONFIG) --cflags builtin ffmpeg`
111
 
libffmpeg_builtin_la_CXXFLAGS = `$(VLC_CONFIG) --cxxflags builtin ffmpeg`
112
 
libffmpeg_builtin_la_OBJCFLAGS = `$(VLC_CONFIG) --objcflags builtin ffmpeg`
113
 
 
114
 
# The ffmpegaltivec plugin
115
 
 
116
 
libffmpegaltivec_plugin_a_SOURCES = $(SOURCES_ffmpegaltivec)
117
 
libffmpegaltivec_plugin_la_SOURCES = $(SOURCES_ffmpegaltivec)
118
 
libffmpegaltivec_plugin_a_CFLAGS = `$(VLC_CONFIG) --cflags plugin ffmpegaltivec`
119
 
libffmpegaltivec_plugin_a_CXXFLAGS = `$(VLC_CONFIG) --cxxflags plugin ffmpegaltivec`
120
 
libffmpegaltivec_plugin_a_OBJCFLAGS = `$(VLC_CONFIG) --objcflags plugin ffmpegaltivec`
121
 
libffmpegaltivec_plugin_la_CFLAGS = `$(VLC_CONFIG) --cflags plugin ffmpegaltivec`
122
 
libffmpegaltivec_plugin_la_CXXFLAGS = `$(VLC_CONFIG) --cxxflags plugin ffmpegaltivec`
123
 
libffmpegaltivec_plugin_la_OBJCFLAGS = `$(VLC_CONFIG) --objcflags plugin ffmpegaltivec`
124
 
libffmpegaltivec_plugin_la_LDFLAGS = `$(VLC_CONFIG) --libs plugin ffmpegaltivec` \
125
 
        -rpath '$(libvlcdir)' -avoid-version -module -shrext $(LIBEXT)
126
 
libffmpegaltivec_plugin_la_LIBADD = $(LTLIBVLC)
127
 
 
128
 
libffmpegaltivec_a_SOURCES = $(SOURCES_ffmpegaltivec)
129
 
libffmpegaltivec_builtin_la_SOURCES = $(SOURCES_ffmpegaltivec)
130
 
libffmpegaltivec_a_CFLAGS = `$(VLC_CONFIG) --cflags builtin pic ffmpegaltivec`
131
 
libffmpegaltivec_a_CXXFLAGS = `$(VLC_CONFIG) --cxxflags builtin pic ffmpegaltivec`
132
 
libffmpegaltivec_a_OBJCFLAGS = `$(VLC_CONFIG) --objcflags builtin pic ffmpegaltivec`
133
 
libffmpegaltivec_builtin_la_CFLAGS = `$(VLC_CONFIG) --cflags builtin ffmpegaltivec`
134
 
libffmpegaltivec_builtin_la_CXXFLAGS = `$(VLC_CONFIG) --cxxflags builtin ffmpegaltivec`
135
 
libffmpegaltivec_builtin_la_OBJCFLAGS = `$(VLC_CONFIG) --objcflags builtin ffmpegaltivec`
136