~ubuntu-branches/ubuntu/trusty/parole/trusty-proposed

« back to all changes in this revision

Viewing changes to browser-plugin/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Yves-Alexis Perez, Lionel Le Folgoc, Yves-Alexis Perez
  • Date: 2011-04-24 16:09:19 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20110424160919-rpjwaicrdb8f7un2
Tags: 0.2.0.6-1
[ Lionel Le Folgoc ]
* debian/control:
  - drop unneeded build-dep on xulrunner-dev.   closes: #594073
  - suggests a few useful gstreamer0.10 plugins.
  - build-depends on quilt.
* debian/patches:
  - 01_fix-implicit-dso-linking.patch: added, fixes FTBFS with binutils-gold.
  - series: added.                                            closes: #615760
* debian/rules: pass --with quilt to dh.

[ Yves-Alexis Perez ]
* New upstream release.
* Switch to 3.0 (quilt) source format.
* debian/control:
  - update standards version to 3.9.2.
  - drop browser-plugin-parole package.
  - drop quilt build-dep.
  - add build-dep on hardening-includes
  - bump xfce build-deps to 4.8.
* debian/parole.install updated.
* debian/rules:
  - use --fail-missing and manually remove spurious files.
  - drop quilt addon
  - pick build flags from dpkg-buildflags.
  - add -O1, -z,defs and --as-needed to LDFLAGS.
  - add hardening flags to build flags.
  - stop harcoding the shell to bash, it works fine now.      closes: #623830

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
## Process this file with automake to produce Makefile.in
2
 
 
3
 
SUBDIRS = media-plugin
4
 
 
5
 
DEFINES = -DMOZILLA_STRICT_API -DXP_UNIX
6
 
 
7
 
# This is probably not the best thing, but the browser plugin 
8
 
# fails to compile with --enable-debug=full so overried CXXFLAGS
9
 
# to get rid of -Wundef -Wredundant-decls -Wmissing-declarations
10
 
CXXFLAGS = -Wall -g -O2 -DXFCE_DISABLE_DEPRECATED
11
 
if DEBUG_BROWSER_PLUGIN
12
 
CXXFLAGS += -Wextra -Wno-missing-field-initializers     \
13
 
        -Wno-unused-parameter                           \
14
 
        -Wmissing-noreturn -Wshadow                     \
15
 
        -Wpointer-arith -Wcast-align -Wformat-security  \
16
 
        -Winit-self -Wmissing-include-dirs              \
17
 
        -Wmissing-format-attribute                      \
18
 
        -fstack-protector -O0 -g3 -Werror
19
 
endif
20
 
 
21
 
INCLUDES =                                              \
22
 
        -fPIC                                           \
23
 
        -I$(top_builddir)                               \
24
 
        -I$(top_srcdir)                                 \
25
 
        -DPACKAGE_LOCALE_DIR=\"$(localedir)\"           \
26
 
        -DG_LOG_DOMAIN=\"parole-browser-plugin\"        \
27
 
        -DLIBEXECDIR="\"$(libexecdir)\""                \
28
 
        $(GTK_CFLAGS)                                   \
29
 
        $(DBUS_GLIB_CFLAGS)                             \
30
 
        $(DEFINES)
31
 
 
32
 
install_libexecdir = $(BROWSER_PLUGIN_DIR)
33
 
 
34
 
install_libexec_PROGRAMS =                              \
35
 
        parole-player.so
36
 
 
37
 
parole_player_so_SOURCES =                              \
38
 
        plugin.cpp                                      \
39
 
        plugin.h                                        \
40
 
        plugin_setup.cpp                                \
41
 
        plugin_setup.h                                  \
42
 
        plugin_types.cpp                                \
43
 
        plugin_types.h                                  \
44
 
        np_entry.cpp                                    \
45
 
        npn_gate.cpp                                    \
46
 
        npp_gate.cpp                                    \
47
 
        npupp.h                                         \
48
 
        npapi.h                                         \
49
 
        npfunctions.h                                   \
50
 
        npruntime.h                                     \
51
 
        nptypes.h
52
 
 
53
 
parole_player_so_CFLAGS =                               \
54
 
        -fPIC
55
 
 
56
 
parole_player_so_LDFLAGS =                              \
57
 
        -Xcompiler                                      \
58
 
        -shared                                         \
59
 
        -fPIC
60
 
 
61
 
parole_player_so_LDADD =                                \
62
 
        $(GTK_LIBS)                                     \
63
 
        $(DBUS_GLIB_LIBS)