1999-11-02 06:43:10 +03:00
|
|
|
#
|
2004-04-18 01:52:36 +04: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.
|
|
|
|
#
|
1999-11-02 06:43:10 +03:00
|
|
|
# The Original Code is the Mozilla browser.
|
2004-04-18 01:52:36 +04:00
|
|
|
#
|
|
|
|
# The Initial Developer of the Original Code is
|
|
|
|
# Netscape Communications, Inc.
|
|
|
|
# Portions created by the Initial Developer are Copyright (C) 1999
|
|
|
|
# the Initial Developer. All Rights Reserved.
|
|
|
|
#
|
1999-11-02 06:43:10 +03:00
|
|
|
# Contributor(s):
|
|
|
|
# Stuart Parmenter <pavlov@netscape.com>
|
2004-04-18 01:52:36 +04: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.
|
|
|
|
#
|
|
|
|
# ***** END LICENSE BLOCK *****
|
1999-11-02 06:43:10 +03:00
|
|
|
|
|
|
|
DEPTH = ../..
|
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
MODULE = docshell
|
2000-07-19 06:57:05 +04:00
|
|
|
IS_COMPONENT = 1
|
2001-06-21 00:21:49 +04:00
|
|
|
MODULE_NAME = docshell_provider
|
1999-11-02 06:43:10 +03:00
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
|
|
|
LIBRARY_NAME = docshell
|
2001-04-28 23:48:12 +04:00
|
|
|
EXPORT_LIBRARY = 1
|
2002-12-28 04:15:07 +03:00
|
|
|
GRE_MODULE = 1
|
2004-12-15 07:07:01 +03:00
|
|
|
LIBXUL_LIBRARY = 1
|
2002-12-28 04:15:07 +03:00
|
|
|
|
2004-01-07 16:37:00 +03:00
|
|
|
PACKAGE_FILE = docshell.pkg
|
|
|
|
|
2001-09-18 17:41:47 +04:00
|
|
|
REQUIRES = xpcom \
|
|
|
|
string \
|
|
|
|
dom \
|
2007-03-23 02:01:14 +03:00
|
|
|
js \
|
2001-09-18 17:41:47 +04:00
|
|
|
shistory \
|
|
|
|
necko \
|
2007-07-25 09:35:39 +04:00
|
|
|
nkcache \
|
2001-09-18 17:41:47 +04:00
|
|
|
gfx \
|
2007-08-22 15:13:46 +04:00
|
|
|
thebes \
|
2004-03-06 07:46:11 +03:00
|
|
|
content \
|
2001-09-18 17:41:47 +04:00
|
|
|
layout \
|
|
|
|
webshell \
|
|
|
|
widget \
|
|
|
|
pref \
|
2007-03-23 02:01:14 +03:00
|
|
|
view \
|
2001-09-18 17:41:47 +04:00
|
|
|
intl \
|
|
|
|
htmlparser \
|
|
|
|
chardet \
|
|
|
|
find \
|
2002-02-02 08:13:56 +03:00
|
|
|
composer \
|
|
|
|
editor \
|
|
|
|
commandhandler \
|
2003-03-15 04:04:32 +03:00
|
|
|
uriloader \
|
|
|
|
exthandler \
|
|
|
|
mimetype \
|
2007-03-23 02:01:14 +03:00
|
|
|
rdf \
|
2003-03-15 04:04:32 +03:00
|
|
|
prefetch \
|
2005-02-27 21:33:27 +03:00
|
|
|
imglib2 \
|
2003-03-15 04:04:32 +03:00
|
|
|
$(NULL)
|
|
|
|
|
2004-02-11 05:10:04 +03:00
|
|
|
EXPORTS = \
|
|
|
|
nsDocShellCID.h \
|
|
|
|
$(NULL)
|
|
|
|
|
2004-12-09 22:28:35 +03:00
|
|
|
ifeq ($(OS_ARCH)$(MOZ_ENABLE_LIBXUL),WINNT)
|
2002-01-01 03:03:57 +03:00
|
|
|
EXTRA_DSO_LIBS = gkgfx
|
|
|
|
endif
|
2005-03-07 21:23:48 +03:00
|
|
|
ifeq ($(OS_ARCH),WINCE)
|
|
|
|
EXTRA_DSO_LIBS = gkgfx
|
|
|
|
endif
|
|
|
|
|
2002-01-01 03:03:57 +03:00
|
|
|
|
1999-11-02 06:43:10 +03:00
|
|
|
CPPSRCS = \
|
|
|
|
nsDocShellModule.cpp \
|
|
|
|
$(NULL)
|
|
|
|
|
2000-01-06 14:08:52 +03:00
|
|
|
SHARED_LIBRARY_LIBS= \
|
2006-02-14 18:57:04 +03:00
|
|
|
../base/$(LIB_PREFIX)basedocshell_s.$(LIB_SUFFIX) \
|
|
|
|
$(DEPTH)/uriloader/base/$(LIB_PREFIX)uriloaderbase_s.$(LIB_SUFFIX) \
|
|
|
|
$(DEPTH)/uriloader/exthandler/$(LIB_PREFIX)exthandler_s.$(LIB_SUFFIX) \
|
|
|
|
$(DEPTH)/uriloader/prefetch/$(LIB_PREFIX)prefetch_s.$(LIB_SUFFIX) \
|
|
|
|
../shistory/src/$(LIB_PREFIX)shistory_s.$(LIB_SUFFIX) \
|
1999-11-02 06:43:10 +03:00
|
|
|
$(NULL)
|
|
|
|
|
2000-01-06 14:08:52 +03:00
|
|
|
EXTRA_DSO_LDOPTS= \
|
2001-12-18 12:14:29 +03:00
|
|
|
$(LIBS_DIR) \
|
2002-01-01 03:03:57 +03:00
|
|
|
$(EXTRA_DSO_LIBS) \
|
2000-05-02 05:18:46 +04:00
|
|
|
$(MOZ_JS_LIBS) \
|
2003-03-15 04:04:32 +03:00
|
|
|
$(MOZ_UNICHARUTIL_LIBS) \
|
2000-01-06 14:08:52 +03:00
|
|
|
$(MOZ_COMPONENT_LIBS) \
|
|
|
|
$(NULL)
|
|
|
|
|
1999-11-02 06:43:10 +03:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|
2001-12-18 12:14:29 +03:00
|
|
|
LOCAL_INCLUDES = \
|
2005-08-18 22:07:04 +04:00
|
|
|
-I$(srcdir) \
|
|
|
|
-I$(srcdir)/../base \
|
|
|
|
-I$(srcdir)/../shistory/src \
|
2003-03-15 04:04:32 +03:00
|
|
|
-I$(topsrcdir)/uriloader/base \
|
|
|
|
-I$(topsrcdir)/uriloader/prefetch \
|
|
|
|
-I$(topsrcdir)/uriloader/exthandler \
|
1999-11-02 06:43:10 +03:00
|
|
|
$(NULL)
|
2000-04-21 05:14:45 +04:00
|
|
|
|
2003-03-15 04:04:32 +03:00
|
|
|
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
|
|
|
LOCAL_INCLUDES += -I$(topsrcdir)/uriloader/exthandler/mac
|
|
|
|
EXTRA_DSO_LDOPTS += \
|
|
|
|
$(TK_LIBS) \
|
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(OS_ARCH),WINNT)
|
2007-03-23 02:01:14 +03:00
|
|
|
OS_LIBS += $(call EXPAND_LIBNAME, shell32)
|
2003-03-15 04:04:32 +03:00
|
|
|
endif
|
|
|
|
|
2003-09-30 02:04:05 +04:00
|
|
|
ifeq ($(MOZ_WIDGET_TOOLKIT),gtk2)
|
|
|
|
EXTRA_DSO_LDOPTS += $(TK_LIBS)
|
|
|
|
endif
|