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

« back to all changes in this revision

Viewing changes to modules/codec/dmo/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/dmo/Makefile.am automatically generated from modules/codec/dmo/Modules.am by bootstrap
3
 
# DO NOT EDIT - edit Modules.am or $(top_srcdir)/bootstrap instead
 
1
# modules/codec/dmo/Makefile.am automatically generated from modules/codec/dmo/Modules.am by modules/genmf
 
2
# DO NOT EDIT THIS FILE DIRECTLY! See Modules.am instead.
4
3
 
5
4
basedir = codec
 
5
dir = codec/dmo
6
6
mods = dmo
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 =  libdmo_plugin.a libdmo.a
20
 
EXTRA_LTLIBRARIES =  libdmo_plugin.la libdmo_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
 
7
libvlc_LTLIBRARIES =  $(LTLIBdmo)
 
8
EXTRA_LTLIBRARIES =  libdmo_plugin.la
 
9
 
 
10
include $(top_srcdir)/modules/common.am
90
11
 
91
12
# The dmo plugin
92
 
 
93
 
libdmo_plugin_a_SOURCES = $(SOURCES_dmo)
94
13
libdmo_plugin_la_SOURCES = $(SOURCES_dmo)
95
 
libdmo_plugin_a_CFLAGS = `$(VLC_CONFIG) --cflags plugin dmo`
96
 
libdmo_plugin_a_CXXFLAGS = `$(VLC_CONFIG) --cxxflags plugin dmo`
97
 
libdmo_plugin_a_OBJCFLAGS = `$(VLC_CONFIG) --objcflags plugin dmo`
98
 
libdmo_plugin_la_CFLAGS = `$(VLC_CONFIG) --cflags plugin dmo`
99
 
libdmo_plugin_la_CXXFLAGS = `$(VLC_CONFIG) --cxxflags plugin dmo`
100
 
libdmo_plugin_la_OBJCFLAGS = `$(VLC_CONFIG) --objcflags plugin dmo`
101
 
libdmo_plugin_la_LDFLAGS = `$(VLC_CONFIG) --libs plugin dmo` \
102
 
        -rpath '$(libvlcdir)' -avoid-version -module -shrext $(LIBEXT)
103
 
libdmo_plugin_la_LIBADD = $(LTLIBVLC)
104
 
 
105
 
libdmo_a_SOURCES = $(SOURCES_dmo)
106
 
libdmo_builtin_la_SOURCES = $(SOURCES_dmo)
107
 
libdmo_a_CFLAGS = `$(VLC_CONFIG) --cflags builtin pic dmo`
108
 
libdmo_a_CXXFLAGS = `$(VLC_CONFIG) --cxxflags builtin pic dmo`
109
 
libdmo_a_OBJCFLAGS = `$(VLC_CONFIG) --objcflags builtin pic dmo`
110
 
libdmo_builtin_la_CFLAGS = `$(VLC_CONFIG) --cflags builtin dmo`
111
 
libdmo_builtin_la_CXXFLAGS = `$(VLC_CONFIG) --cxxflags builtin dmo`
112
 
libdmo_builtin_la_OBJCFLAGS = `$(VLC_CONFIG) --objcflags builtin dmo`
 
14
nodist_libdmo_plugin_la_SOURCES = $(nodist_SOURCES_dmo)
 
15
# Force per-target objects:
 
16
libdmo_plugin_la_CFLAGS = $(AM_CFLAGS)
 
17
libdmo_plugin_la_CXXFLAGS = $(AM_CXXFLAGS)
 
18
libdmo_plugin_la_OBJCFLAGS = $(AM_OBJCFLAGS)
 
19
# Set LIBADD and DEPENDENCIES manually:
 
20
libdmo_plugin_la_LIBADD = $(AM_LIBADD)
 
21
libdmo_plugin_la_DEPENDENCIES =
113
22