2012-05-21 04:12:37 -07:00
|
|
|
# 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/.
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2012-08-04 11:26:44 -07:00
|
|
|
DEPTH = @DEPTH@
|
2010-01-27 11:16:53 -08:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2011-08-15 15:42:32 -07:00
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
2012-03-20 21:22:05 -07:00
|
|
|
ifeq (,$(filter aurora beta release esr,$(MOZ_UPDATE_CHANNEL)))
|
2011-08-15 15:42:32 -07:00
|
|
|
DEFINES += -DMOZ_COMPATIBILITY_NIGHTLY=1
|
2011-05-24 13:05:35 -07:00
|
|
|
endif
|
|
|
|
|
2012-06-19 22:52:56 -07:00
|
|
|
# This is used in multiple places, so is defined here to avoid it getting
|
|
|
|
# out of sync.
|
2012-10-25 04:51:58 -07:00
|
|
|
DEFINES += -DMOZ_EXTENSIONS_DB_SCHEMA=14
|
2012-06-19 22:52:56 -07:00
|
|
|
|
2012-08-12 19:19:37 -07:00
|
|
|
# Additional debugging info is exposed in debug builds, or by setting the
|
|
|
|
# MOZ_EM_DEBUG environment variable when building.
|
|
|
|
ifneq (,$(MOZ_EM_DEBUG))
|
|
|
|
DEFINES += -DMOZ_EM_DEBUG=1
|
|
|
|
else ifdef MOZ_DEBUG
|
|
|
|
DEFINES += -DMOZ_EM_DEBUG=1
|
|
|
|
endif
|
|
|
|
|
2010-01-27 11:16:53 -08:00
|
|
|
EXTRA_PP_COMPONENTS = \
|
|
|
|
nsBlocklistService.js \
|
2012-10-15 11:14:53 -07:00
|
|
|
extensions.manifest \
|
2012-08-03 18:22:55 -07:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
EXTRA_COMPONENTS = \
|
2010-04-29 13:11:23 -07:00
|
|
|
addonManager.js \
|
|
|
|
amContentHandler.js \
|
|
|
|
amWebInstallListener.js \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
EXTRA_PP_JS_MODULES = \
|
|
|
|
AddonManager.jsm \
|
2011-04-01 07:41:46 -07:00
|
|
|
XPIProvider.jsm \
|
2012-06-19 22:52:56 -07:00
|
|
|
XPIProviderUtils.js \
|
2010-01-27 11:16:53 -08:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
EXTRA_JS_MODULES = \
|
2012-08-03 18:22:55 -07:00
|
|
|
AddonLogging.jsm \
|
|
|
|
AddonRepository.jsm \
|
|
|
|
AddonUpdateChecker.jsm \
|
2011-10-31 22:48:49 -07:00
|
|
|
ChromeManifestParser.jsm \
|
2012-09-22 12:24:26 -07:00
|
|
|
LightweightThemeImageOptimizer.jsm \
|
2010-01-27 11:16:53 -08:00
|
|
|
LightweightThemeManager.jsm \
|
2012-08-03 18:22:55 -07:00
|
|
|
PluginProvider.jsm \
|
2011-10-06 12:06:18 -07:00
|
|
|
SpellCheckDictionaryBootstrap.js \
|
2010-01-27 11:16:53 -08:00
|
|
|
$(NULL)
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2010-04-29 13:11:23 -07:00
|
|
|
EXTRA_DSO_LDOPTS = \
|
2011-04-01 07:41:46 -07:00
|
|
|
$(MOZ_JS_LIBS) \
|
|
|
|
$(MOZ_UNICHARUTIL_LIBS) \
|
|
|
|
$(MOZ_COMPONENT_LIBS) \
|
|
|
|
$(NULL)
|
2010-04-29 13:11:23 -07:00
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
include $(topsrcdir)/config/rules.mk
|