# # 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 = @DEPTH@ topsrcdir = @top_srcdir@ srcdir = @srcdir@ VPATH = @srcdir@ include $(DEPTH)/config/autoconf.mk MODULE = webbrwsr XPIDL_MODULE = webBrowser_core LIBRARY_NAME = nsWebBrowser_s GRE_MODULE = 1 LIBXUL_LIBRARY = 1 EXPORTS = \ nsCTooltipTextProvider.h \ $(NULL) LOCAL_INCLUDES = \ -I$(srcdir)/../../../content/base/src \ $(NULL) SDK_XPIDLSRCS = \ nsIContextMenuListener.idl \ nsIEmbeddingSiteWindow.idl \ nsITooltipListener.idl \ nsITooltipTextProvider.idl \ nsIWebBrowser.idl \ nsIWebBrowserChrome.idl \ nsIWebBrowserChromeFocus.idl \ nsIWebBrowserFocus.idl \ nsIWebBrowserSetup.idl \ nsIWebBrowserStream.idl \ $(NULL) XPIDLSRCS = \ nsCWebBrowser.idl \ nsICommandHandler.idl \ nsIContextMenuListener2.idl \ nsIWebBrowserChrome2.idl \ nsIWebBrowserChrome3.idl \ $(NULL) CPPSRCS = \ nsDocShellTreeOwner.cpp \ nsWebBrowser.cpp \ nsCommandHandler.cpp \ nsWebBrowserContentPolicy.cpp \ nsContextMenuInfo.cpp \ nsEmbedStream.cpp \ $(NULL) ifdef NS_PRINTING SDK_XPIDLSRCS += nsIWebBrowserPrint.idl XPIDLSRCS += nsIPrintingPrompt.idl nsIPrintingPromptService.idl endif # 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/rules.mk