mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-07 20:17:37 +00:00
58 lines
1.3 KiB
Makefile
58 lines
1.3 KiB
Makefile
#
|
|
# 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 = 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 = \
|
|
nsUrlClassifierDBService.cpp \
|
|
nsUrlClassifierStreamUpdater.cpp \
|
|
nsUrlClassifierUtils.cpp \
|
|
nsUrlClassifierPrefixSet.cpp \
|
|
nsUrlClassifierProxies.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
|