# # 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 = downloads LIBRARY_NAME = download_s FORCE_STATIC_LIB = 1 LIBXUL_LIBRARY = 1 XPIDLSRCS = \ nsIDownload.idl \ nsIDownloadManager.idl \ nsIDownloadManagerUI.idl \ nsIDownloadProgressListener.idl \ $(NULL) CPPSRCS = \ nsDownloadManager.cpp \ SQLFunctions.cpp \ $(NULL) ifeq ($(OS_ARCH),WINNT) CPPSRCS += nsDownloadScanner.cpp endif # definition of MOZ_SUITE is only added via config.mk include $(topsrcdir)/config/config.mk ifndef MOZ_SUITE # XXX - Until Suite builds off XULRunner we can't guarantee our implementation # of nsIDownloadManagerUI overrides toolkit's. EXTRA_COMPONENTS = \ nsDownloadManagerUI.js \ nsDownloadManagerUI.manifest \ $(NULL) endif TEST_DIRS += test include $(topsrcdir)/config/rules.mk CXXFLAGS += $(TK_CFLAGS)