toolkit/content/Makefile.in
author Carsten "Tomcat" Book <cbook@mozilla.com>
Thu, 29 Oct 2015 09:42:30 +0100
changeset 306211 729e95976e9e276e33fad08d2873fe523c00cc73
parent 291433 38f81480762d6c29047fa7d56cc9a3182152c48c
child 320591 e8d8faa2595513aca6258f0d9e224f86c6ecd01e
permissions -rw-r--r--
Bug 1219585 - CLOBBER for intermittent 10.7 debug build failures a=me

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

USE_RCS_MK := 1
include $(topsrcdir)/config/makefiles/makeutils.mk

DEFINES += \
  -DCXXFLAGS='$(CXXFLAGS)' \
  -DCPPFLAGS='$(CPPFLAGS)' \
  $(NULL)

MOZ_SOURCE_STAMP ?= $(shell hg -R $(topsrcdir) parent --template='{node}\n' 2>/dev/null)
ifdef MOZ_SOURCE_STAMP
DEFINES += -DSOURCE_CHANGESET='$(MOZ_SOURCE_STAMP)'
endif

ifdef MOZ_INCLUDE_SOURCE_INFO
source_repo ?= $(call getSourceRepo)
ifneq (,$(filter http%,$(source_repo)))
  DEFINES += -DSOURCE_REPO='$(source_repo)'
else ifneq (,$(strip $(source_repo)))
  DEFINES += -DSOURCE_GIT_COMMIT='$(source_repo)'
endif
endif