# # 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. # # The Original Code is the Mozilla browser. # # The Initial Developer of the Original Code is Netscape # Communications, Inc. Portions created by Netscape are # Copyright (C) 1999, Mozilla. All Rights Reserved. # # Contributor(s): # Travis Bogard DEPTH = ../../.. topsrcdir = @top_srcdir@ srcdir = @srcdir@ VPATH = @srcdir@ MODULE = webbrwsr XPIDL_MODULE = webBrowser_core LIBRARY_NAME = nsWebBrowser_s REQUIRES = xpcom docshell widget layout dom js locale necko uriloader shistory webshell htmlparser view rdf mime exthandler include $(DEPTH)/config/autoconf.mk XPIDLSRCS = \ nsCWebBrowser.idl \ nsIWebBrowser.idl \ nsIWebBrowserChrome.idl \ nsIWebBrowserSetup.idl \ nsICommandHandler.idl \ nsIContextMenuListener.idl \ nsIWebBrowserPersist.idl \ $(NULL) CPPSRCS = \ nsDocShellTreeOwner.cpp \ nsWBURIContentListener.cpp \ nsWebBrowser.cpp \ nsCommandHandler.cpp \ nsWebBrowserPersist.cpp \ nsDOMWalker.cpp \ $(NULL) # we don't want the shared lib, but we want to force the creation of a # static lib. override NO_SHARED_LIB=1 override NO_STATIC_LIB= include $(topsrcdir)/config/rules.mk