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