~ubuntu-branches/ubuntu/quantal/gecko-mediaplayer/quantal

« back to all changes in this revision

Viewing changes to .pc/dont_use_libxul.patch/src/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Chris Coulson
  • Date: 2011-05-27 15:19:19 UTC
  • Revision ID: james.westby@ubuntu.com-20110527151919-rkrubbf0f2od2js0
Tags: 1.0.0-0ubuntu3
* Don't use any Mozilla interfaces at all. The only interfaces used
  previously were nsIPrefBranch and nsIPrefService to change a preference
  which configured the UA string to "QuickTime/7.6.4". This functionality
  is Firefox specific anyway, and so doesn't work in any Webkit based browser
  (Chromium, Epiphany, Midori etc). It also doesn't work in Firefox 4
  and later since the plugin is running in a separate process, where setting
  prefs in the plugin process has no effect on the browser process at all
  - add debian/patches/dont_use_libxul.patch
  - add debian/patches/autotools.patch
  - update debian/patches/series
  - update debian/control to build-depend on firefox-dev
  - see https://blueprints.launchpad.net/ubuntu/+spec/
          desktop-o-mozilla-rapid-release-maintenance and
    https://lists.ubuntu.com/archives/ubuntu-devel/2011-May/033229.html

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
## Process this file with automake to produce Makefile.in
 
2
 
 
3
## Created by Anjuta
 
4
SUBDIRS = libgmlib
 
5
 
 
6
DEFINES = -DMOZILLA_STRICT_API -DXP_UNIX
 
7
INCLUDES = \
 
8
        -fPIC \
 
9
        -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
 
10
        -DPACKAGE_SRC_DIR=\""$(srcdir)"\" \
 
11
        -DPACKAGE_DATA_DIR=\""$(datadir)"\" \
 
12
        $(GECKO_CFLAGS) \
 
13
        $(GLIB_CFLAGS) \
 
14
        $(DBUS_CFLAGS) \
 
15
        $(GCONF_CFLAGS) \
 
16
        $(GCONF_DEFINES) \
 
17
        $(DEFINES)
 
18
 
 
19
AM_CFLAGS =\
 
20
         -Wall \
 
21
         -g 
 
22
 
 
23
COMMONCODE = \
 
24
        ../config.h \
 
25
        plugin.cpp \
 
26
        memmem_compat.h \
 
27
        memmem_compat.cpp \
 
28
        plugin.h \
 
29
        plugin_list.h \
 
30
        plugin_list.cpp \
 
31
        plugin_types.h \
 
32
        plugin_setup.h \
 
33
        plugin_setup.cpp \
 
34
        plugin_dbus.h \
 
35
        plugin_dbus.cpp \
 
36
        np_entry.cpp \
 
37
        npn_gate.cpp \
 
38
        npp_gate.cpp \
 
39
        npupp.h
 
40
 
 
41
install_libexecdir = $(plugindir)
 
42
install_libexec_PROGRAMS = \
 
43
        gecko-mediaplayer.so \
 
44
        gecko-mediaplayer-qt.so \
 
45
        gecko-mediaplayer-wmp.so \
 
46
        gecko-mediaplayer-rm.so \
 
47
        gecko-mediaplayer-dvx.so
 
48
        
 
49
gecko_mediaplayer_so_SOURCES = \
 
50
        plugin_types_std.cpp \
 
51
        $(COMMONCODE)
 
52
                
 
53
gecko_mediaplayer_so_CFLAGS = -fPIC 
 
54
gecko_mediaplayer_so_LDFLAGS = -shared -fPIC
 
55
gecko_mediaplayer_so_LDADD = -ldl libgmlib/libgmlib.a $(GLIB_LIBS) $(DBUS_LIBS) $(GCONF_LIBS)
 
56
 
 
57
gecko_mediaplayer_qt_so_SOURCES = \
 
58
        plugin_types_qt.cpp \
 
59
        $(COMMONCODE)
 
60
        
 
61
gecko_mediaplayer_qt_so_CFLAGS = -fPIC 
 
62
gecko_mediaplayer_qt_so_LDFLAGS = -shared -fPIC
 
63
gecko_mediaplayer_qt_so_LDADD = -ldl libgmlib/libgmlib.a $(GLIB_LIBS) $(DBUS_LIBS) $(GCONF_LIBS)
 
64
 
 
65
gecko_mediaplayer_wmp_so_SOURCES = \
 
66
        plugin_types_wmp.cpp \
 
67
        $(COMMONCODE)
 
68
        
 
69
gecko_mediaplayer_wmp_so_CFLAGS = -fPIC 
 
70
gecko_mediaplayer_wmp_so_LDFLAGS = -shared -fPIC 
 
71
gecko_mediaplayer_wmp_so_LDADD = -ldl libgmlib/libgmlib.a $(GLIB_LIBS) $(DBUS_LIBS) $(GCONF_LIBS)
 
72
 
 
73
gecko_mediaplayer_dvx_so_SOURCES = \
 
74
        plugin_types_dvx.cpp \
 
75
        $(COMMONCODE)
 
76
        
 
77
gecko_mediaplayer_dvx_so_CFLAGS = -fPIC 
 
78
gecko_mediaplayer_dvx_so_LDFLAGS = -shared -fPIC
 
79
gecko_mediaplayer_dvx_so_LDADD = -ldl libgmlib/libgmlib.a $(GLIB_LIBS) $(DBUS_LIBS) $(GCONF_LIBS)
 
80
 
 
81
gecko_mediaplayer_rm_so_SOURCES = \
 
82
        plugin_types_rm.cpp \
 
83
        $(COMMONCODE)
 
84
        
 
85
gecko_mediaplayer_rm_so_CFLAGS = -fPIC 
 
86
gecko_mediaplayer_rm_so_LDFLAGS = -shared -fPIC
 
87
gecko_mediaplayer_rm_so_LDADD = -ldl libgmlib/libgmlib.a $(GLIB_LIBS) $(DBUS_LIBS) $(GCONF_LIBS)
 
88
 
 
89
indent:
 
90
        indent -kr -l100 -i4 -nut *.cpp
 
91
        indent -kr -l100 -i4 -nut *.h
 
92
        rm *~