1998-10-28 03:53:57 +00:00
|
|
|
#
|
2004-04-17 21:52:36 +00:00
|
|
|
# ***** BEGIN LICENSE BLOCK *****
|
|
|
|
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
1998-10-28 03:53:57 +00:00
|
|
|
#
|
2004-04-17 21:52:36 +00:00
|
|
|
# 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.
|
1998-10-28 03:53:57 +00:00
|
|
|
#
|
1999-11-06 03:40:37 +00:00
|
|
|
# The Original Code is mozilla.org code.
|
|
|
|
#
|
2004-04-17 21:52:36 +00:00
|
|
|
# The Initial Developer of the Original Code is
|
|
|
|
# Netscape Communications Corporation.
|
|
|
|
# Portions created by the Initial Developer are Copyright (C) 1998
|
|
|
|
# the Initial Developer. All Rights Reserved.
|
|
|
|
#
|
|
|
|
# Contributor(s):
|
1999-11-06 03:40:37 +00:00
|
|
|
#
|
2004-04-17 21:52:36 +00:00
|
|
|
# Alternatively, the contents of this file may be used under the terms of
|
|
|
|
# either of 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.
|
1999-07-23 00:22:57 +00:00
|
|
|
#
|
2004-04-17 21:52:36 +00:00
|
|
|
# ***** END LICENSE BLOCK *****
|
1998-10-28 03:53:57 +00:00
|
|
|
|
2009-03-11 14:10:19 +00:00
|
|
|
DEPTH = ../..
|
1998-10-28 03:53:57 +00:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
1999-07-23 00:22:57 +00:00
|
|
|
MODULE = dom
|
1999-09-11 00:59:11 +00:00
|
|
|
LIBRARY_NAME = jsdombase_s
|
2004-12-15 04:07:01 +00:00
|
|
|
LIBXUL_LIBRARY = 1
|
2009-03-11 14:10:19 +00:00
|
|
|
FORCE_STATIC_LIB = 1
|
2004-12-15 04:07:01 +00:00
|
|
|
|
2010-11-09 20:19:19 +00:00
|
|
|
EXTRA_PP_COMPONENTS = \
|
|
|
|
ConsoleAPI.js \
|
|
|
|
ConsoleAPI.manifest \
|
|
|
|
$(NULL)
|
|
|
|
|
2011-08-24 20:34:16 +00:00
|
|
|
EXTRA_JS_MODULES = ConsoleAPIStorage.jsm \
|
|
|
|
$(NULL)
|
|
|
|
|
2009-03-11 14:10:19 +00:00
|
|
|
XPIDLSRCS = \
|
|
|
|
nsIEntropyCollector.idl \
|
|
|
|
nsIScriptChannel.idl \
|
|
|
|
$(NULL)
|
2003-01-15 20:40:06 +00:00
|
|
|
|
2009-03-11 14:10:19 +00:00
|
|
|
EXPORTS = \
|
|
|
|
nsDOMCID.h \
|
2010-01-12 13:08:43 +00:00
|
|
|
nsDOMClassInfoClasses.h \
|
2009-03-11 14:10:19 +00:00
|
|
|
nsDOMClassInfoID.h \
|
|
|
|
nsDOMError.h \
|
|
|
|
nsDOMJSUtils.h \
|
|
|
|
nsDOMScriptObjectHolder.h \
|
|
|
|
nsDOMString.h \
|
|
|
|
nsIBaseDOMException.h \
|
|
|
|
nsIDOMClassInfo.h \
|
|
|
|
nsIDOMScriptObjectFactory.h \
|
|
|
|
nsIJSEventListener.h \
|
|
|
|
nsIJSNativeInitializer.h \
|
|
|
|
nsIScriptContext.h \
|
|
|
|
nsIScriptExternalNameSet.h \
|
|
|
|
nsIScriptGlobalObject.h \
|
|
|
|
nsIScriptGlobalObjectOwner.h \
|
|
|
|
nsIScriptNameSpaceManager.h \
|
|
|
|
nsIScriptObjectOwner.h \
|
|
|
|
nsIScriptObjectPrincipal.h \
|
|
|
|
nsIScriptRuntime.h \
|
|
|
|
nsIScriptTimeoutHandler.h \
|
|
|
|
nsPIDOMWindow.h \
|
|
|
|
nsPIWindowRoot.h \
|
Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE)
2009-06-10 18:00:39 +00:00
|
|
|
nsFocusManager.h \
|
2009-03-11 14:10:19 +00:00
|
|
|
nsWrapperCache.h \
|
2011-04-03 02:14:00 +00:00
|
|
|
nsContentPermissionHelper.h \
|
2011-04-25 02:30:54 +00:00
|
|
|
nsStructuredCloneContainer.h \
|
2011-07-11 15:23:26 +00:00
|
|
|
nsDOMMemoryReporter.h \
|
2009-03-11 14:10:19 +00:00
|
|
|
$(NULL)
|
2006-06-22 21:30:49 +00:00
|
|
|
|
2011-08-12 16:58:43 +00:00
|
|
|
EXPORTS_NAMESPACES = mozilla/dom
|
|
|
|
EXPORTS_mozilla/dom = \
|
|
|
|
StructuredCloneTags.h \
|
|
|
|
$(NULL)
|
|
|
|
|
Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
2001-05-08 17:42:36 +00:00
|
|
|
CPPSRCS = \
|
|
|
|
nsBarProps.cpp \
|
|
|
|
nsDOMException.cpp \
|
2004-06-20 16:42:13 +00:00
|
|
|
nsDOMWindowUtils.cpp \
|
Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
2001-05-08 17:42:36 +00:00
|
|
|
nsJSEnvironment.cpp \
|
2006-06-13 03:07:47 +00:00
|
|
|
nsJSTimeoutHandler.cpp \
|
Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE)
2009-06-10 18:00:39 +00:00
|
|
|
nsFocusManager.cpp \
|
Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
2001-05-08 17:42:36 +00:00
|
|
|
nsGlobalWindow.cpp \
|
2003-04-12 03:08:23 +00:00
|
|
|
nsGlobalWindowCommands.cpp \
|
Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
2001-05-08 17:42:36 +00:00
|
|
|
nsLocation.cpp \
|
|
|
|
nsDOMWindowList.cpp \
|
|
|
|
nsJSUtils.cpp \
|
|
|
|
nsScreen.cpp \
|
|
|
|
nsHistory.cpp \
|
|
|
|
nsMimeTypeArray.cpp \
|
|
|
|
nsPluginArray.cpp \
|
|
|
|
nsWindowRoot.cpp \
|
|
|
|
nsDOMClassInfo.cpp \
|
2004-02-24 03:22:35 +00:00
|
|
|
nsScriptNameSpaceManager.cpp \
|
|
|
|
nsDOMScriptObjectFactory.cpp \
|
2010-03-19 05:02:53 +00:00
|
|
|
nsQueryContentEventResult.cpp \
|
2011-04-03 02:14:00 +00:00
|
|
|
nsContentPermissionHelper.cpp \
|
2011-04-25 02:30:54 +00:00
|
|
|
nsStructuredCloneContainer.cpp \
|
2011-06-23 10:39:48 +00:00
|
|
|
nsDOMNavigationTiming.cpp \
|
|
|
|
nsPerformance.cpp \
|
2011-06-29 11:01:07 +00:00
|
|
|
nsDOMMemoryReporter.cpp \
|
2011-11-02 13:44:16 +00:00
|
|
|
Navigator.cpp \
|
Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
2001-05-08 17:42:36 +00:00
|
|
|
$(NULL)
|
1998-12-03 00:33:00 +00:00
|
|
|
|
2009-03-11 14:10:19 +00:00
|
|
|
include $(topsrcdir)/dom/dom-config.mk
|
2004-07-26 21:49:49 +00:00
|
|
|
|
2006-06-22 21:30:49 +00:00
|
|
|
ifdef MOZ_JSDEBUGGER
|
|
|
|
DEFINES += -DMOZ_JSDEBUGGER
|
|
|
|
endif
|
|
|
|
|
2010-05-13 17:44:51 +00:00
|
|
|
include $(topsrcdir)/config/config.mk
|
|
|
|
include $(topsrcdir)/ipc/chromium/chromium-config.mk
|
|
|
|
|
2004-02-24 03:22:35 +00:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
2008-06-04 00:00:37 +00:00
|
|
|
|
2010-10-10 22:38:10 +00:00
|
|
|
LOCAL_INCLUDES += \
|
2011-10-14 17:52:47 +00:00
|
|
|
-I$(topsrcdir)/js/xpconnect/src \
|
|
|
|
-I$(topsrcdir)/js/xpconnect/wrappers \
|
2011-06-23 10:39:48 +00:00
|
|
|
-I$(topsrcdir)/xpcom/ds \
|
2010-10-10 22:38:10 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2008-06-04 00:00:37 +00:00
|
|
|
ifdef MOZ_X11
|
|
|
|
CXXFLAGS += $(TK_CFLAGS)
|
|
|
|
LDFLAGS += $(TK_LIBS)
|
|
|
|
endif
|