~ubuntu-branches/ubuntu/precise/enigmail/precise-security

« back to all changes in this revision

Viewing changes to dom/plugins/base/Makefile.in

  • Committer: Package Import Robot
  • Author(s): Chris Coulson
  • Date: 2012-11-12 16:36:01 UTC
  • mfrom: (0.12.15)
  • Revision ID: package-import@ubuntu.com-20121112163601-t8e8skdfi3ni9iqp
Tags: 2:1.4.6-0ubuntu0.12.04.1
* New upstream release v1.4.6
  - see LP: #1080212 for USN information
* Drop unneeded patches
  - remove debian/patches/correct-version-number.diff
  - remove debian/patches/dont_register_cids_multiple_times.diff
  - update debian/patches/series
* Support building in an objdir
  - update debian/rules

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# This Source Code Form is subject to the terms of the Mozilla Public
 
3
# License, v. 2.0. If a copy of the MPL was not distributed with this
 
4
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
5
 
 
6
DEPTH           = @DEPTH@
 
7
topsrcdir       = @top_srcdir@
 
8
srcdir          = @srcdir@
 
9
VPATH           = @srcdir@
 
10
FAIL_ON_WARNINGS := 1
 
11
 
 
12
include $(DEPTH)/config/autoconf.mk
 
13
 
 
14
MODULE          = plugin
 
15
LIBRARY_NAME    = gkplugin
 
16
EXPORT_LIBRARY = 1
 
17
IS_COMPONENT    = 1
 
18
MODULE_NAME     = nsPluginModule
 
19
GRE_MODULE      = 1
 
20
LIBXUL_LIBRARY = 1
 
21
 
 
22
EXPORTS_NAMESPACES = mozilla
 
23
 
 
24
XPIDLSRCS = \
 
25
  nsIHTTPHeaderListener.idl \
 
26
  nsIPluginDocument.idl \
 
27
  nsIPluginHost.idl \
 
28
  nsIPluginInputStream.idl \
 
29
  nsIPluginInstanceOwner.idl \
 
30
  nsIPluginTag.idl \
 
31
  nsIPluginTagInfo.idl \
 
32
  nspluginroot.idl \
 
33
  $(NULL)
 
34
 
 
35
EXPORTS = \
 
36
  npapi.h \
 
37
  npfunctions.h \
 
38
  nptypes.h \
 
39
  npruntime.h \
 
40
  nsPluginLogging.h \
 
41
  nsPluginNativeWindow.h \
 
42
  nsPluginsCID.h \
 
43
  nsNPAPIPluginInstance.h \
 
44
  nsPluginsDir.h \
 
45
  nsPluginTags.h \
 
46
  nsPluginDirServiceProvider.h \
 
47
  nsPluginHost.h \
 
48
  nsPluginInstanceOwner.h \
 
49
  $(NULL)
 
50
 
 
51
EXPORTS_mozilla = \
 
52
  PluginPRLibrary.h \
 
53
  $(NULL)
 
54
 
 
55
CPPSRCS         = \
 
56
                nsNPAPIPlugin.cpp \
 
57
                nsNPAPIPluginInstance.cpp \
 
58
                nsNPAPIPluginStreamListener.cpp \
 
59
                nsPluginStreamListenerPeer.cpp \
 
60
                nsPluginHost.cpp \
 
61
                nsPluginModule.cpp \
 
62
                nsJSNPRuntime.cpp \
 
63
                nsPluginTags.cpp \
 
64
                PluginPRLibrary.cpp \
 
65
                nsPluginInstanceOwner.cpp \
 
66
                $(NULL)
 
67
 
 
68
ifeq ($(MOZ_WIDGET_TOOLKIT),android)
 
69
DIRS += android
 
70
LOCAL_INCLUDES += -I$(topsrcdir)/dom/plugins/base/android
 
71
endif
 
72
 
 
73
ifeq ($(OS_ARCH),WINNT)
 
74
        CPPSRCS += nsPluginsDirWin.cpp
 
75
        CPPSRCS += nsPluginNativeWindowWin.cpp
 
76
        CPPSRCS += nsPluginDirServiceProvider.cpp
 
77
        LOCAL_INCLUDES += -I$(topsrcdir)/xpcom/base
 
78
else
 
79
ifeq ($(MOZ_WIDGET_TOOLKIT),os2)
 
80
        CPPSRCS += nsPluginsDirOS2.cpp
 
81
        CPPSRCS += nsPluginNativeWindowOS2.cpp
 
82
else
 
83
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
 
84
        CPPSRCS += nsPluginsDirDarwin.cpp
 
85
        CPPSRCS += nsPluginNativeWindow.cpp
 
86
else
 
87
        CPPSRCS += nsPluginsDirUnix.cpp
 
88
ifeq ($(MOZ_WIDGET_TOOLKIT),gtk2)
 
89
        CPPSRCS += nsPluginNativeWindowGtk2.cpp
 
90
else
 
91
ifeq ($(MOZ_WIDGET_TOOLKIT),qt)
 
92
        CPPSRCS += nsPluginNativeWindowQt.cpp
 
93
else
 
94
        CPPSRCS += nsPluginNativeWindow.cpp
 
95
endif
 
96
endif
 
97
endif
 
98
endif
 
99
endif
 
100
 
 
101
LOCAL_INCLUDES += \
 
102
  -DSK_BUILD_FOR_ANDROID_NDK \
 
103
  -I$(topsrcdir)/widget/android \
 
104
  -I$(topsrcdir)/widget/xpwidgets \
 
105
  -I$(topsrcdir)/xpcom/base/ \
 
106
  -I$(topsrcdir)/gfx/skia/include/core \
 
107
  -I$(topsrcdir)/gfx/skia/include/config \
 
108
  $(MOZ_CAIRO_CFLAGS) \
 
109
  $(MOZ_PIXMAN_CFLAGS) \
 
110
  $(NULL)
 
111
 
 
112
include $(topsrcdir)/dom/dom-config.mk
 
113
include $(topsrcdir)/config/config.mk
 
114
include $(topsrcdir)/ipc/chromium/chromium-config.mk
 
115
include $(topsrcdir)/config/rules.mk
 
116
 
 
117
CXXFLAGS         += $(TK_CFLAGS)
 
118
 
 
119
$(DIST)/bin/plugins:
 
120
        $(NSINSTALL) -D $@
 
121
 
 
122
export:: $(DIST)/bin/plugins