mail/base/Makefile.in
author Gervase Markham <gerv@gerv.net>
Wed, 30 May 2012 17:48:24 +0100
changeset 12286 84ac3c71109811da751f0ef2d72108075938f094
parent 8514 3ac94faeeb559a7b41afe1710e83e7e8262f68bb
child 12800 106c1726c7d7048908157664d115179863d3dee6
permissions -rw-r--r--
Bug 757018 - upgrade license to MPL 2.

#
# 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

DIRS = modules

PRE_RELEASE_SUFFIX := $(shell $(PYTHON) $(topsrcdir)/mozilla/config/printprereleasesuffix.py \
                      $(MOZ_APP_VERSION))

DEFINES += -DMOZ_APP_VERSION=$(MOZ_APP_VERSION) \
           -DPRE_RELEASE_SUFFIX=""

ifdef MOZILLA_OFFICIAL
DEFINES += -DOFFICIAL_BUILD=1
endif

ifneq (,$(filter windows gtk2 cocoa, $(MOZ_WIDGET_TOOLKIT)))
DEFINES += -DHAVE_SHELL_SERVICE=1
endif

ifdef MOZ_UPDATER
DEFINES += -DMOZ_UPDATER=1
endif

ifdef ENABLE_TESTS
DIRS += test
endif

abs_srcdir = $(call core_abspath,$(srcdir))

CHROME_DEPS += $(abs_srcdir)/content/overrides/app-license.html

DEFINES += -DAPP_LICENSE_BLOCK=$(abs_srcdir)/content/overrides/app-license.html

include $(topsrcdir)/config/rules.mk