# # 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 = url-classifier LIBRARY_NAME = urlclassifier_s XPIDL_MODULE = url-classifier LIBXUL_LIBRARY = 1 FORCE_STATIC_LIB = 1 XPIDLSRCS = \ nsIUrlClassifierDBService.idl \ nsIUrlClassifierHashCompleter.idl \ nsIUrlClassifierStreamUpdater.idl \ nsIUrlClassifierPrefixSet.idl \ nsIUrlClassifierUtils.idl \ nsIUrlListManager.idl \ $(NULL) CPPSRCS = \ ChunkSet.cpp \ Classifier.cpp \ HashStore.cpp \ ProtocolParser.cpp \ LookupCache.cpp \ nsUrlClassifierDBService.cpp \ nsUrlClassifierStreamUpdater.cpp \ nsUrlClassifierUtils.cpp \ nsUrlClassifierPrefixSet.cpp \ nsUrlClassifierProxies.cpp \ nsCheckSummedOutputStream.cpp \ $(NULL) LOCAL_INCLUDES = \ -I$(srcdir)/../build \ $(SQLITE_CFLAGS) \ $(NULL) EXTRA_COMPONENTS = \ nsUrlClassifierHashCompleter.js \ nsURLClassifier.manifest \ $(NULL) # Same as JS components that are run through the pre-processor. EXTRA_PP_COMPONENTS = \ nsUrlClassifierLib.js \ nsUrlClassifierListManager.js \ $(NULL) ifdef ENABLE_TESTS TOOL_DIRS += tests endif include $(topsrcdir)/config/rules.mk