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
|
|
|
|
1999-07-23 00:22:57 +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
|
|
|
|
|
2001-09-18 13:41:47 +00:00
|
|
|
REQUIRES = xpcom \
|
|
|
|
string \
|
|
|
|
webbrwsr \
|
2003-04-12 03:08:23 +00:00
|
|
|
commandhandler \
|
2001-09-18 13:41:47 +00:00
|
|
|
js \
|
|
|
|
widget \
|
|
|
|
gfx \
|
2007-08-22 11:13:46 +00:00
|
|
|
thebes \
|
2001-09-18 13:41:47 +00:00
|
|
|
layout \
|
|
|
|
content \
|
|
|
|
caps \
|
|
|
|
docshell \
|
|
|
|
xpconnect \
|
|
|
|
pref \
|
|
|
|
oji \
|
|
|
|
necko \
|
2007-05-29 09:45:30 +00:00
|
|
|
nkcache \
|
2003-02-26 23:54:55 +00:00
|
|
|
mimetype \
|
2001-09-18 13:41:47 +00:00
|
|
|
java \
|
|
|
|
locale \
|
2007-07-25 05:35:39 +00:00
|
|
|
prefetch \
|
2001-09-18 13:41:47 +00:00
|
|
|
xuldoc \
|
|
|
|
webshell \
|
|
|
|
view \
|
|
|
|
uconv \
|
|
|
|
shistory \
|
|
|
|
plugin \
|
|
|
|
windowwatcher \
|
|
|
|
chardet \
|
2002-03-04 02:25:08 +00:00
|
|
|
find \
|
|
|
|
appshell \
|
2002-03-20 11:23:13 +00:00
|
|
|
intl \
|
2003-06-24 21:09:57 +00:00
|
|
|
unicharutil \
|
2003-07-08 21:10:52 +00:00
|
|
|
rdf \
|
|
|
|
xultmpl \
|
2004-09-14 18:40:26 +00:00
|
|
|
jar \
|
2006-05-19 05:57:36 +00:00
|
|
|
storage \
|
2007-08-11 18:37:16 +00:00
|
|
|
htmlparser \
|
2001-09-18 13:41:47 +00:00
|
|
|
$(NULL)
|
1998-10-28 03:53:57 +00:00
|
|
|
|
2003-01-15 20:40:06 +00:00
|
|
|
ifdef NS_TRACE_MALLOC
|
|
|
|
REQUIRES += tracemalloc
|
|
|
|
endif
|
|
|
|
|
2006-06-22 21:30:49 +00:00
|
|
|
ifdef MOZ_JSDEBUGGER
|
|
|
|
REQUIRES += jsdebug
|
|
|
|
endif
|
|
|
|
|
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 \
|
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
|
|
|
nsFocusController.cpp \
|
|
|
|
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 \
|
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
|
|
|
|
2006-05-19 05:57:36 +00:00
|
|
|
# we don't want the shared lib, but we want to force the creation of a
|
|
|
|
# static lib.
|
2001-06-18 22:10:38 +00:00
|
|
|
FORCE_STATIC_LIB = 1
|
1998-12-18 02:55:23 +00:00
|
|
|
|
2005-02-25 22:07:01 +00:00
|
|
|
LOCAL_INCLUDES = \
|
|
|
|
-I$(srcdir)/../events \
|
2006-05-19 05:57:36 +00:00
|
|
|
-I$(srcdir)/../storage \
|
2007-05-29 09:45:30 +00:00
|
|
|
-I$(srcdir)/../offline \
|
2005-02-25 22:07:01 +00:00
|
|
|
-I$(topsrcdir)/content/xbl/src \
|
2007-03-12 05:53:33 +00:00
|
|
|
-I$(topsrcdir)/content/xul/document/src \
|
2006-05-19 05:57:36 +00:00
|
|
|
-I$(topsrcdir)/content/events/src \
|
2007-05-10 20:21:12 +00:00
|
|
|
-I$(topsrcdir)/content/base/src \
|
2007-12-21 13:44:58 +00:00
|
|
|
-I$(topsrcdir)/content/html/document/src \
|
|
|
|
-I$(topsrcdir)/layout/style \
|
2005-02-25 22:07:01 +00:00
|
|
|
$(NULL)
|
2000-04-27 04:02:22 +00:00
|
|
|
|
2004-07-26 21:49:49 +00:00
|
|
|
DEFINES += -D_IMPL_NS_LAYOUT
|
|
|
|
|
2008-01-16 20:42:50 +00:00
|
|
|
ifdef MOZ_SHARK
|
|
|
|
DEFINES += -DMOZ_SHARK
|
|
|
|
CFLAGS += -F/System/Library/PrivateFrameworks
|
|
|
|
LDFLAGS += -F/System/Library/PrivateFrameworks -framework CHUD
|
|
|
|
endif
|
|
|
|
|
2006-06-22 21:30:49 +00:00
|
|
|
ifdef MOZ_JSDEBUGGER
|
|
|
|
DEFINES += -DMOZ_JSDEBUGGER
|
|
|
|
endif
|
|
|
|
|
2004-02-24 03:22:35 +00:00
|
|
|
include $(topsrcdir)/config/rules.mk
|