2012-05-21 04:12:37 -07:00
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
2009-06-30 11:51:05 -07:00
|
|
|
|
2012-08-04 11:26:44 -07:00
|
|
|
DEPTH = @DEPTH@
|
2009-06-30 11:51:05 -07:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
2012-08-07 00:06:29 -07:00
|
|
|
FAIL_ON_WARNINGS := 1
|
2009-06-30 11:51:05 -07:00
|
|
|
|
|
|
|
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
|
|
|
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 \
|
2011-08-24 09:15:58 -07:00
|
|
|
NPEventUnix.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 \
|
2011-07-12 07:31:18 -07:00
|
|
|
PluginUtilsOSX.h \
|
2009-09-21 07:51:35 -07:00
|
|
|
AStream.h \
|
|
|
|
PluginStreamChild.h \
|
|
|
|
PluginStreamParent.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
|
|
|
|
|
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 \
|
2011-06-14 12:49:48 -07:00
|
|
|
PluginIdentifierChild.cpp \
|
|
|
|
PluginIdentifierParent.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))
|
2011-01-27 14:37:00 -08:00
|
|
|
CPPSRCS += \
|
|
|
|
COMMessageFilter.cpp \
|
|
|
|
PluginSurfaceParent.cpp \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
EXPORTS_mozilla/plugins += \
|
|
|
|
PluginSurfaceParent.h \
|
|
|
|
$(NULL)
|
2010-05-21 08:48:34 -07:00
|
|
|
endif
|
|
|
|
|
2010-07-29 15:38:32 -07:00
|
|
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
2011-05-23 23:58:28 -07:00
|
|
|
DIRS += \
|
|
|
|
interpose \
|
|
|
|
$(NULL)
|
|
|
|
|
2010-07-29 15:38:32 -07:00
|
|
|
CMMSRCS += \
|
|
|
|
PluginUtilsOSX.mm \
|
2010-08-13 09:45:50 -07:00
|
|
|
PluginInterposeOSX.mm \
|
2010-07-29 15:38:32 -07:00
|
|
|
$(NULL)
|
2011-05-23 23:58:28 -07:00
|
|
|
|
|
|
|
EXPORTS_mozilla/plugins += \
|
|
|
|
PluginInterposeOSX.h \
|
|
|
|
$(NULL)
|
2010-07-29 15:38:32 -07:00
|
|
|
endif
|
|
|
|
|
2009-08-10 16:28:22 -07:00
|
|
|
LOCAL_INCLUDES = \
|
2011-04-26 14:38:43 -07:00
|
|
|
-I$(srcdir)/../base \
|
2010-11-09 18:02:09 -08:00
|
|
|
-I$(topsrcdir)/xpcom/base/ \
|
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
|
|
|
|
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
|
2012-05-29 22:14:30 -07:00
|
|
|
|
|
|
|
CXXFLAGS += $(MOZ_CAIRO_CFLAGS)
|