2009-06-30 18:51:05 +00: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 06:31:35 +00:00
|
|
|
# The Original Code is Mozilla Plugins.
|
2009-06-30 18:51:05 +00: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 06:31:35 +00:00
|
|
|
# Chris Jones <jones.chris.g@gmail.com>
|
2009-06-30 18:51:05 +00: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 *****
|
|
|
|
|
|
|
|
DEPTH = ../..
|
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
|
|
|
MODULE = dom
|
|
|
|
|
2009-07-20 19:04:52 +00:00
|
|
|
EXPORTS_NAMESPACES = mozilla
|
2009-06-30 18:51:05 +00:00
|
|
|
|
2009-08-10 23:28:22 +00:00
|
|
|
EXPORTS_mozilla = \
|
2009-10-27 19:51:12 +00:00
|
|
|
PluginLibrary.h \
|
2009-06-30 18:51:05 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2009-07-20 19:04:52 +00:00
|
|
|
ifdef MOZ_IPC
|
|
|
|
|
|
|
|
EXPORTS_NAMESPACES = mozilla mozilla/plugins
|
|
|
|
|
2009-08-10 23:28:22 +00:00
|
|
|
EXPORTS_mozilla/plugins = \
|
2009-09-09 14:04:09 +00:00
|
|
|
BrowserStreamChild.h \
|
|
|
|
BrowserStreamParent.h \
|
2010-01-20 03:13:24 +00:00
|
|
|
ChildAsyncCall.h \
|
|
|
|
ChildTimer.h \
|
2009-09-19 01:19:11 +00:00
|
|
|
NPEventOSX.h \
|
|
|
|
NPEventWindows.h \
|
|
|
|
NPEventX11.h \
|
2010-06-25 20:24:50 +00:00
|
|
|
NPEventAndroid.h \
|
2010-03-23 14:30:51 +00:00
|
|
|
PluginIdentifierChild.h \
|
|
|
|
PluginIdentifierParent.h \
|
2009-09-19 01:19:11 +00:00
|
|
|
PluginInstanceChild.h \
|
|
|
|
PluginInstanceParent.h \
|
2009-08-10 23:28:22 +00:00
|
|
|
PluginMessageUtils.h \
|
2009-09-19 01:19:11 +00:00
|
|
|
PluginModuleChild.h \
|
|
|
|
PluginModuleParent.h \
|
2009-08-10 23:28:22 +00:00
|
|
|
PluginProcessParent.h \
|
2009-09-19 01:19:11 +00:00
|
|
|
PluginScriptableObjectChild.h \
|
|
|
|
PluginScriptableObjectParent.h \
|
2010-01-15 20:35:57 +00:00
|
|
|
PluginScriptableObjectUtils.h \
|
2010-01-15 21:52:13 +00:00
|
|
|
PluginScriptableObjectUtils-inl.h \
|
2009-09-21 14:51:35 +00:00
|
|
|
PluginInstanceChild.h \
|
|
|
|
PluginInstanceParent.h \
|
|
|
|
AStream.h \
|
|
|
|
BrowserStreamChild.h \
|
|
|
|
BrowserStreamParent.h \
|
|
|
|
PluginStreamChild.h \
|
|
|
|
PluginStreamParent.h \
|
|
|
|
PluginMessageUtils.h \
|
|
|
|
PluginProcessParent.h \
|
2010-05-11 04:18:00 +00:00
|
|
|
PluginProcessChild.h \
|
2009-09-08 21:22:50 +00:00
|
|
|
StreamNotifyChild.h \
|
2009-09-19 01:19:11 +00:00
|
|
|
StreamNotifyParent.h \
|
2009-06-30 18:51:05 +00:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
MODULE = dom
|
|
|
|
LIBRARY_NAME = domplugins_s
|
|
|
|
LIBXUL_LIBRARY = 1
|
|
|
|
FORCE_STATIC_LIB = 1
|
|
|
|
EXPORT_LIBRARY = 1
|
|
|
|
|
2010-06-02 03:58:00 +00:00
|
|
|
ifeq ($(MOZ_ENABLE_QT),1)
|
|
|
|
MOCSRCS = \
|
|
|
|
moc_NestedLoopTimer.cpp \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
QTSRCS = \
|
|
|
|
NestedLoopTimer.cpp \
|
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
|
2009-09-09 06:31:35 +00:00
|
|
|
CPPSRCS = \
|
2010-06-02 03:58:00 +00:00
|
|
|
$(MOCSRCS) \
|
|
|
|
$(QTSRCS) \
|
2010-01-20 03:13:24 +00:00
|
|
|
ChildAsyncCall.cpp \
|
|
|
|
ChildTimer.cpp \
|
2009-10-30 21:02:47 +00:00
|
|
|
PluginMessageUtils.cpp \
|
2009-09-09 06:31:35 +00:00
|
|
|
PluginInstanceChild.cpp \
|
|
|
|
PluginInstanceParent.cpp \
|
|
|
|
PluginModuleChild.cpp \
|
|
|
|
PluginModuleParent.cpp \
|
2010-05-11 04:18:00 +00:00
|
|
|
PluginProcessChild.cpp \
|
2009-08-10 23:28:22 +00:00
|
|
|
PluginProcessParent.cpp \
|
2009-09-09 06:31:35 +00:00
|
|
|
PluginScriptableObjectChild.cpp \
|
|
|
|
PluginScriptableObjectParent.cpp \
|
2009-09-09 14:04:09 +00:00
|
|
|
BrowserStreamChild.cpp \
|
|
|
|
BrowserStreamParent.cpp \
|
2009-09-21 14:51:35 +00:00
|
|
|
PluginStreamChild.cpp \
|
|
|
|
PluginStreamParent.cpp \
|
2009-06-30 18:51:05 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2010-05-21 15:48:34 +00:00
|
|
|
ifeq (WINNT,$(OS_ARCH))
|
|
|
|
CPPSRCS += COMMessageFilter.cpp
|
|
|
|
endif
|
|
|
|
|
2010-07-29 22:38:32 +00:00
|
|
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
|
|
|
CMMSRCS += \
|
|
|
|
PluginUtilsOSX.mm \
|
2010-08-13 16:45:50 +00:00
|
|
|
PluginInterposeOSX.mm \
|
2010-07-29 22:38:32 +00:00
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
|
2009-08-10 23:28:22 +00:00
|
|
|
LOCAL_INCLUDES = \
|
|
|
|
-I$(topsrcdir)/modules/plugin/base/public/ \
|
|
|
|
-I$(topsrcdir)/modules/plugin/base/src/ \
|
2010-11-10 02:02:09 +00:00
|
|
|
-I$(topsrcdir)/xpcom/base/ \
|
2009-06-30 18:51:05 +00:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
include $(topsrcdir)/config/config.mk
|
|
|
|
include $(topsrcdir)/ipc/chromium/chromium-config.mk
|
2009-07-20 19:04:52 +00:00
|
|
|
endif
|
|
|
|
|
2009-06-30 18:51:05 +00:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
2009-12-18 22:22:51 +00:00
|
|
|
|
2010-01-28 05:22:41 +00:00
|
|
|
CXXFLAGS += $(TK_CFLAGS)
|
|
|
|
|
2009-12-18 22:22:51 +00:00
|
|
|
DEFINES += -DFORCE_PR_LOG
|