2011-03-30 06:24:53 +04: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
|
|
|
|
2011-03-30 06:24:53 +04:00
|
|
|
DEPTH = ../..
|
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
1999-11-02 06:43:10 +03:00
|
|
|
|
2002-01-16 08:10:09 +03:00
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
2011-03-30 06:24:53 +04:00
|
|
|
MODULE = docshell
|
|
|
|
LIBRARY_NAME = basedocshell_s
|
|
|
|
GRE_MODULE = 1
|
|
|
|
LIBXUL_LIBRARY = 1
|
2002-12-28 04:15:07 +03:00
|
|
|
|
2010-09-18 16:42:07 +04:00
|
|
|
ifdef MOZ_TOOLKIT_SEARCH
|
|
|
|
DEFINES += -DMOZ_TOOLKIT_SEARCH
|
|
|
|
endif
|
1999-11-02 06:43:10 +03:00
|
|
|
|
2004-02-11 05:10:04 +03:00
|
|
|
SDK_XPIDLSRCS = \
|
2011-03-30 06:24:53 +04:00
|
|
|
nsIClipboardCommands.idl \
|
|
|
|
$(NULL)
|
2004-02-11 05:10:04 +03:00
|
|
|
|
2011-03-30 06:24:53 +04:00
|
|
|
XPIDLSRCS = \
|
|
|
|
nsCDefaultURIFixup.idl \
|
|
|
|
nsIDocShell.idl \
|
|
|
|
nsIDocShellLoadInfo.idl \
|
|
|
|
nsIDocShellTreeItem.idl \
|
|
|
|
nsIDocShellTreeNode.idl \
|
|
|
|
nsIDocShellTreeOwner.idl \
|
|
|
|
nsIDocShellHistory.idl \
|
|
|
|
nsIGlobalHistory2.idl \
|
|
|
|
nsIMarkupDocumentViewer.idl \
|
|
|
|
nsIScrollable.idl \
|
|
|
|
nsITextScroll.idl \
|
2012-01-24 13:52:04 +04:00
|
|
|
nsIDocCharset.idl \
|
2011-03-30 06:24:53 +04:00
|
|
|
nsIWebNavigation.idl \
|
|
|
|
nsIWebNavigationInfo.idl \
|
|
|
|
nsIContentViewer.idl \
|
|
|
|
nsIContentViewerEdit.idl \
|
|
|
|
nsIContentViewerFile.idl \
|
|
|
|
nsIURIFixup.idl \
|
|
|
|
nsIEditorDocShell.idl \
|
|
|
|
nsIWebPageDescriptor.idl \
|
|
|
|
nsIDownloadHistory.idl \
|
|
|
|
nsILoadContext.idl \
|
|
|
|
nsIRefreshURI.idl \
|
|
|
|
nsIContentViewerContainer.idl \
|
|
|
|
nsIDocumentLoaderFactory.idl \
|
2012-04-20 07:19:54 +04:00
|
|
|
nsIPrivacyTransitionObserver.idl \
|
2011-03-30 06:24:53 +04:00
|
|
|
$(NULL)
|
1999-11-02 06:43:10 +03:00
|
|
|
|
2011-03-30 06:24:53 +04:00
|
|
|
EXPORTS = \
|
|
|
|
nsDocShellLoadTypes.h \
|
|
|
|
nsILinkHandler.h \
|
|
|
|
nsIWebShellServices.h \
|
|
|
|
$(NULL)
|
2006-02-11 03:17:36 +03:00
|
|
|
|
2009-08-20 22:56:10 +04:00
|
|
|
EXPORTS_NAMESPACES = mozilla
|
|
|
|
|
|
|
|
EXPORTS_mozilla = \
|
|
|
|
IHistory.h \
|
|
|
|
$(NULL)
|
|
|
|
|
2011-03-30 06:24:53 +04:00
|
|
|
CPPSRCS = \
|
|
|
|
nsDocShell.cpp \
|
|
|
|
nsDocShellLoadInfo.cpp \
|
|
|
|
nsDocShellEditorData.cpp \
|
|
|
|
nsDocShellTransferableHooks.cpp \
|
|
|
|
nsDocShellEnumerator.cpp \
|
|
|
|
nsDSURIContentListener.cpp \
|
|
|
|
nsDefaultURIFixup.cpp \
|
|
|
|
nsWebNavigationInfo.cpp \
|
|
|
|
nsAboutRedirector.cpp \
|
|
|
|
nsDownloadHistory.cpp \
|
|
|
|
$(NULL)
|
1999-11-02 06:43:10 +03:00
|
|
|
|
|
|
|
# we don't want the shared lib, but we want to force the creation of a
|
|
|
|
# static lib.
|
2001-06-19 02:10:38 +04:00
|
|
|
FORCE_STATIC_LIB = 1
|
1999-11-02 06:43:10 +03:00
|
|
|
|
2012-04-20 04:13:20 +04:00
|
|
|
include $(topsrcdir)/config/config.mk
|
|
|
|
include $(topsrcdir)/ipc/chromium/chromium-config.mk
|
1999-11-02 06:43:10 +03:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
2005-10-02 00:38:47 +04:00
|
|
|
|
2011-03-30 06:24:53 +04:00
|
|
|
LOCAL_INCLUDES += \
|
|
|
|
-I$(srcdir)/../shistory/src \
|
2011-06-23 14:39:48 +04:00
|
|
|
-I$(topsrcdir)/dom/base \
|
2011-03-30 06:24:53 +04:00
|
|
|
-I$(topsrcdir)/layout/base \
|
2011-06-23 14:39:48 +04:00
|
|
|
-I$(topsrcdir)/xpcom/ds \
|
2011-03-30 06:24:53 +04:00
|
|
|
$(NULL)
|