# # 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/. DEPTH = ../.. topsrcdir = @top_srcdir@ srcdir = @srcdir@ VPATH = @srcdir@ include $(DEPTH)/config/autoconf.mk MODULE = docshell LIBRARY_NAME = basedocshell_s GRE_MODULE = 1 LIBXUL_LIBRARY = 1 ifdef MOZ_TOOLKIT_SEARCH DEFINES += -DMOZ_TOOLKIT_SEARCH endif SDK_XPIDLSRCS = \ nsIClipboardCommands.idl \ $(NULL) XPIDLSRCS = \ nsCDefaultURIFixup.idl \ nsIDocShell.idl \ nsIDocShellLoadInfo.idl \ nsIDocShellTreeItem.idl \ nsIDocShellTreeNode.idl \ nsIDocShellTreeOwner.idl \ nsIDocShellHistory.idl \ nsIGlobalHistory2.idl \ nsIMarkupDocumentViewer.idl \ nsIScrollable.idl \ nsITextScroll.idl \ nsIDocCharset.idl \ 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 \ nsIPrivacyTransitionObserver.idl \ $(NULL) EXPORTS = \ nsDocShellLoadTypes.h \ nsILinkHandler.h \ nsIWebShellServices.h \ $(NULL) EXPORTS_NAMESPACES = mozilla EXPORTS_mozilla = \ IHistory.h \ $(NULL) CPPSRCS = \ nsDocShell.cpp \ nsDocShellLoadInfo.cpp \ nsDocShellEditorData.cpp \ nsDocShellTransferableHooks.cpp \ nsDocShellEnumerator.cpp \ nsDSURIContentListener.cpp \ nsDefaultURIFixup.cpp \ nsWebNavigationInfo.cpp \ nsAboutRedirector.cpp \ nsDownloadHistory.cpp \ $(NULL) # we don't want the shared lib, but we want to force the creation of a # static lib. FORCE_STATIC_LIB = 1 include $(topsrcdir)/config/config.mk include $(topsrcdir)/ipc/chromium/chromium-config.mk include $(topsrcdir)/config/rules.mk LOCAL_INCLUDES += \ -I$(srcdir)/../shistory/src \ -I$(topsrcdir)/dom/base \ -I$(topsrcdir)/layout/base \ -I$(topsrcdir)/xpcom/ds \ $(NULL)