2009-06-30 22:51:05 +04:00
|
|
|
# ***** BEGIN LICENSE BLOCK *****
|
|
|
|
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
|
|
|
#
|
|
|
|
# The contents of this file are subject to the Mozilla Public License Version
|
|
|
|
# 1.1 (the "License"); you may not use this file except in compliance with
|
|
|
|
# the License. You may obtain a copy of the License at
|
|
|
|
# http://www.mozilla.org/MPL/
|
|
|
|
#
|
|
|
|
# Software distributed under the License is distributed on an "AS IS" basis,
|
|
|
|
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
|
|
|
# for the specific language governing rights and limitations under the
|
|
|
|
# License.
|
|
|
|
#
|
2009-09-09 10:31:35 +04:00
|
|
|
# The Original Code is Mozilla Plugins.
|
2009-06-30 22:51:05 +04:00
|
|
|
#
|
|
|
|
# The Initial Developer of the Original Code is
|
|
|
|
# Ben Turner <bent.mozilla@gmail.com>.
|
|
|
|
# Portions created by the Initial Developer are Copyright (C) 2009
|
|
|
|
# the Initial Developer. All Rights Reserved.
|
|
|
|
#
|
|
|
|
# Contributor(s):
|
2009-09-09 10:31:35 +04:00
|
|
|
# Chris Jones <jones.chris.g@gmail.com>
|
2009-06-30 22:51:05 +04:00
|
|
|
#
|
|
|
|
# Alternatively, the contents of this file may be used under the terms of
|
|
|
|
# either the GNU General Public License Version 2 or later (the "GPL"), or
|
|
|
|
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
|
|
# in which case the provisions of the GPL or the LGPL are applicable instead
|
|
|
|
# of those above. If you wish to allow use of your version of this file only
|
|
|
|
# under the terms of either the GPL or the LGPL, and not to allow others to
|
|
|
|
# use your version of this file under the terms of the MPL, indicate your
|
|
|
|
# decision by deleting the provisions above and replace them with the notice
|
|
|
|
# and other provisions required by the GPL or the LGPL. If you do not delete
|
|
|
|
# the provisions above, a recipient may use your version of this file under
|
|
|
|
# the terms of any one of the MPL, the GPL or the LGPL.
|
|
|
|
#
|
|
|
|
# ***** END LICENSE BLOCK *****
|
|
|
|
|
2011-04-13 03:26:11 +04:00
|
|
|
DEPTH = ../../..
|
2009-06-30 22:51:05 +04:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
|
|
|
MODULE = dom
|
|
|
|
|
2009-07-20 23:04:52 +04:00
|
|
|
EXPORTS_NAMESPACES = mozilla
|
2009-06-30 22:51:05 +04:00
|
|
|
|
2009-08-11 03:28:22 +04:00
|
|
|
EXPORTS_mozilla = \
|
2009-10-27 22:51:12 +03:00
|
|
|
PluginLibrary.h \
|
2009-06-30 22:51:05 +04:00
|
|
|
$(NULL)
|
|
|
|
|
2009-07-20 23:04:52 +04:00
|
|
|
EXPORTS_NAMESPACES = mozilla mozilla/plugins
|
|
|
|
|
2009-08-11 03:28:22 +04:00
|
|
|
EXPORTS_mozilla/plugins = \
|
2009-09-09 18:04:09 +04:00
|
|
|
BrowserStreamChild.h \
|
|
|
|
BrowserStreamParent.h \
|
2010-01-20 06:13:24 +03:00
|
|
|
ChildAsyncCall.h \
|
|
|
|
ChildTimer.h \
|
2009-09-19 05:19:11 +04:00
|
|
|
NPEventOSX.h \
|
|
|
|
NPEventWindows.h \
|
2011-08-24 20:15:58 +04:00
|
|
|
NPEventUnix.h \
|
2010-06-26 00:24:50 +04:00
|
|
|
NPEventAndroid.h \
|
2010-03-23 17:30:51 +03:00
|
|
|
PluginIdentifierChild.h \
|
|
|
|
PluginIdentifierParent.h \
|
2009-09-19 05:19:11 +04:00
|
|
|
PluginInstanceChild.h \
|
|
|
|
PluginInstanceParent.h \
|
2009-08-11 03:28:22 +04:00
|
|
|
PluginMessageUtils.h \
|
2009-09-19 05:19:11 +04:00
|
|
|
PluginModuleChild.h \
|
|
|
|
PluginModuleParent.h \
|
2009-08-11 03:28:22 +04:00
|
|
|
PluginProcessParent.h \
|
2009-09-19 05:19:11 +04:00
|
|
|
PluginScriptableObjectChild.h \
|
|
|
|
PluginScriptableObjectParent.h \
|
2010-01-15 23:35:57 +03:00
|
|
|
PluginScriptableObjectUtils.h \
|
2010-01-16 00:52:13 +03:00
|
|
|
PluginScriptableObjectUtils-inl.h \
|
2009-09-21 18:51:35 +04:00
|
|
|
PluginInstanceChild.h \
|
|
|
|
PluginInstanceParent.h \
|
2011-07-12 18:31:18 +04:00
|
|
|
PluginUtilsOSX.h \
|
2009-09-21 18:51:35 +04:00
|
|
|
AStream.h \
|
|
|
|
BrowserStreamChild.h \
|
|
|
|
BrowserStreamParent.h \
|
|
|
|
PluginStreamChild.h \
|
|
|
|
PluginStreamParent.h \
|
|
|
|
PluginMessageUtils.h \
|
|
|
|
PluginProcessParent.h \
|
2010-05-11 08:18:00 +04:00
|
|
|
PluginProcessChild.h \
|
2009-09-09 01:22:50 +04:00
|
|
|
StreamNotifyChild.h \
|
2009-09-19 05:19:11 +04:00
|
|
|
StreamNotifyParent.h \
|
2009-06-30 22:51:05 +04:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
MODULE = dom
|
|
|
|
LIBRARY_NAME = domplugins_s
|
|
|
|
LIBXUL_LIBRARY = 1
|
|
|
|
FORCE_STATIC_LIB = 1
|
|
|
|
EXPORT_LIBRARY = 1
|
|
|
|
|
2010-06-02 07:58:00 +04:00
|
|
|
ifeq ($(MOZ_ENABLE_QT),1)
|
|
|
|
MOCSRCS = \
|
|
|
|
moc_NestedLoopTimer.cpp \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
QTSRCS = \
|
|
|
|
NestedLoopTimer.cpp \
|
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
|
2009-09-09 10:31:35 +04:00
|
|
|
CPPSRCS = \
|
2010-06-02 07:58:00 +04:00
|
|
|
$(MOCSRCS) \
|
|
|
|
$(QTSRCS) \
|
2010-01-20 06:13:24 +03:00
|
|
|
ChildAsyncCall.cpp \
|
|
|
|
ChildTimer.cpp \
|
2009-10-31 00:02:47 +03:00
|
|
|
PluginMessageUtils.cpp \
|
2011-06-14 23:49:48 +04:00
|
|
|
PluginIdentifierChild.cpp \
|
|
|
|
PluginIdentifierParent.cpp \
|
2009-09-09 10:31:35 +04:00
|
|
|
PluginInstanceChild.cpp \
|
|
|
|
PluginInstanceParent.cpp \
|
|
|
|
PluginModuleChild.cpp \
|
|
|
|
PluginModuleParent.cpp \
|
2010-05-11 08:18:00 +04:00
|
|
|
PluginProcessChild.cpp \
|
2009-08-11 03:28:22 +04:00
|
|
|
PluginProcessParent.cpp \
|
2009-09-09 10:31:35 +04:00
|
|
|
PluginScriptableObjectChild.cpp \
|
|
|
|
PluginScriptableObjectParent.cpp \
|
2009-09-09 18:04:09 +04:00
|
|
|
BrowserStreamChild.cpp \
|
|
|
|
BrowserStreamParent.cpp \
|
2009-09-21 18:51:35 +04:00
|
|
|
PluginStreamChild.cpp \
|
|
|
|
PluginStreamParent.cpp \
|
2009-06-30 22:51:05 +04:00
|
|
|
$(NULL)
|
|
|
|
|
2010-05-21 19:48:34 +04:00
|
|
|
ifeq (WINNT,$(OS_ARCH))
|
2011-01-28 01:37:00 +03:00
|
|
|
CPPSRCS += \
|
|
|
|
COMMessageFilter.cpp \
|
|
|
|
PluginSurfaceParent.cpp \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
EXPORTS_mozilla/plugins += \
|
|
|
|
PluginSurfaceParent.h \
|
|
|
|
$(NULL)
|
2010-05-21 19:48:34 +04:00
|
|
|
endif
|
|
|
|
|
2010-07-30 02:38:32 +04:00
|
|
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
2011-05-24 10:58:28 +04:00
|
|
|
DIRS += \
|
|
|
|
interpose \
|
|
|
|
$(NULL)
|
|
|
|
|
2010-07-30 02:38:32 +04:00
|
|
|
CMMSRCS += \
|
|
|
|
PluginUtilsOSX.mm \
|
2010-08-13 20:45:50 +04:00
|
|
|
PluginInterposeOSX.mm \
|
2010-07-30 02:38:32 +04:00
|
|
|
$(NULL)
|
2011-05-24 10:58:28 +04:00
|
|
|
|
|
|
|
EXPORTS_mozilla/plugins += \
|
|
|
|
PluginInterposeOSX.h \
|
|
|
|
$(NULL)
|
2010-07-30 02:38:32 +04:00
|
|
|
endif
|
|
|
|
|
2009-08-11 03:28:22 +04:00
|
|
|
LOCAL_INCLUDES = \
|
2011-04-27 01:38:43 +04:00
|
|
|
-I$(srcdir)/../base \
|
2010-11-10 05:02:09 +03:00
|
|
|
-I$(topsrcdir)/xpcom/base/ \
|
2009-06-30 22:51:05 +04:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
include $(topsrcdir)/config/config.mk
|
|
|
|
include $(topsrcdir)/ipc/chromium/chromium-config.mk
|
2009-07-20 23:04:52 +04:00
|
|
|
|
2009-06-30 22:51:05 +04:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
2009-12-19 01:22:51 +03:00
|
|
|
|
2010-01-28 08:22:41 +03:00
|
|
|
CXXFLAGS += $(TK_CFLAGS)
|
|
|
|
|
2009-12-19 01:22:51 +03:00
|
|
|
DEFINES += -DFORCE_PR_LOG
|