mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-28 11:28:38 +00:00
118 lines
3.4 KiB
Makefile
118 lines
3.4 KiB
Makefile
# ***** BEGIN LICENSE BLOCK *****
|
|
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
|
#
|
|
# 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 Google Safe Browsing.
|
|
#
|
|
# The Initial Developer of the Original Code is Google Inc.
|
|
# Portions created by the Initial Developer are Copyright (C) 2006
|
|
# the Initial Developer. All Rights Reserved.
|
|
#
|
|
# Contributor(s):
|
|
# Fritz Schneider <fritz@google.com> (original author)
|
|
#
|
|
# Alternatively, the contents of this file may be used under the terms of
|
|
# either the GNU General Public License Version 2 or later (the "GPL"), or
|
|
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
# in which case the provisions of the GPL or the LGPL are applicable instead
|
|
# of those above. If you wish to allow use of your version of this file only
|
|
# under the terms of either the GPL or the LGPL, and not to allow others to
|
|
# use your version of this file under the terms of the MPL, indicate your
|
|
# decision by deleting the provisions above and replace them with the notice
|
|
# and other provisions required by the GPL or the LGPL. If you do not delete
|
|
# the provisions above, a recipient may use your version of this file under
|
|
# the terms of any one of the MPL, the GPL or the LGPL.
|
|
#
|
|
# ***** END LICENSE BLOCK *****
|
|
|
|
DEPTH = ../..
|
|
topsrcdir = @top_srcdir@
|
|
srcdir = @srcdir@
|
|
VPATH = @srcdir@
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
MODULE = safebrowsing
|
|
|
|
XPI_NAME = $(MODULE)
|
|
USE_EXTENSION_MANIFEST = 1
|
|
NO_JAR_AUTO_REG = 1
|
|
INSTALL_EXTENSION_ID = $(MODULE)@mozilla.org
|
|
|
|
DIST_FILES = install.rdf
|
|
PREF_JS_EXPORTS = $(srcdir)/prefs.js
|
|
EXTRA_COMPONENTS = src/loader.js
|
|
|
|
# This gets substituted into install.rdf
|
|
|
|
XULAPP_DEFINES = \
|
|
-DFIREFOX_VERSION=$(FIREFOX_VERSION) \
|
|
$(NULL)
|
|
|
|
# These files get written into the lib/
|
|
|
|
JS_LIB_FILES = \
|
|
lib/js/lang.js \
|
|
lib/js/thread-queue.js \
|
|
lib/js/eventregistrar.js \
|
|
lib/js/listdictionary.js \
|
|
lib/js/arc4.js \
|
|
$(NULL)
|
|
|
|
MOZ_LIB_FILES = \
|
|
lib/moz/lang.js \
|
|
lib/moz/preferences.js \
|
|
lib/moz/alarm.js \
|
|
lib/moz/base64.js \
|
|
lib/moz/observer.js \
|
|
lib/moz/filesystem.js \
|
|
lib/moz/protocol4.js \
|
|
lib/moz/debug.js \
|
|
lib/moz/tabbedbrowserwatcher.js \
|
|
lib/moz/navwatcher.js \
|
|
lib/moz/cryptohasher.js \
|
|
lib/moz/objectsafemap.js \
|
|
lib/moz/version-utils.js \
|
|
$(NULL)
|
|
|
|
APP_LIB_FILES = \
|
|
lib/map.js \
|
|
lib/url-canonicalizer.js \
|
|
lib/enchash-decrypter.js \
|
|
lib/trtable.js \
|
|
lib/firefox-commands.js \
|
|
lib/url-crypto-key-manager.js \
|
|
lib/url-crypto.js \
|
|
lib/xml-fetcher.js \
|
|
lib/tr-fetcher.js \
|
|
lib/reporter.js \
|
|
lib/wireformat.js \
|
|
lib/globalstore.js \
|
|
lib/browser-view.js \
|
|
lib/phishing-afterload-displayer.js \
|
|
lib/phishing-warden.js \
|
|
lib/listmanager.js \
|
|
lib/controller.js \
|
|
lib/application.js \
|
|
$(NULL)
|
|
|
|
libs:: $(addprefix $(srcdir)/,$(JS_LIB_FILES))
|
|
$(INSTALL) $^ $(FINAL_TARGET)/lib/js
|
|
|
|
libs:: $(addprefix $(srcdir)/,$(MOZ_LIB_FILES))
|
|
$(INSTALL) $^ $(FINAL_TARGET)/lib/moz
|
|
|
|
libs:: $(addprefix $(srcdir)/,$(APP_LIB_FILES))
|
|
$(INSTALL) $^ $(FINAL_TARGET)/lib
|
|
|
|
include $(topsrcdir)/config/rules.mk
|