1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/toolkit/content/Makefile.in Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,29 @@ 1.4 +# 1.5 +# This Source Code Form is subject to the terms of the Mozilla Public 1.6 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.7 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.8 + 1.9 +USE_RCS_MK := 1 1.10 +include $(topsrcdir)/config/makefiles/makeutils.mk 1.11 + 1.12 +DEFINES += \ 1.13 + -DCXXFLAGS='$(CXXFLAGS)' \ 1.14 + -DCPPFLAGS='$(CPPFLAGS)' \ 1.15 + $(NULL) 1.16 + 1.17 +MOZ_SOURCE_STAMP ?= $(shell hg -R $(topsrcdir) parent --template='{node|short}\n' 2>/dev/null) 1.18 +ifdef MOZ_SOURCE_STAMP 1.19 +DEFINES += -DSOURCE_CHANGESET='$(MOZ_SOURCE_STAMP)' 1.20 +endif 1.21 + 1.22 +source_repo ?= $(call getSourceRepo) 1.23 +ifneq (,$(filter http%,$(source_repo))) 1.24 + DEFINES += -DSOURCE_REPO='$(source_repo)' 1.25 +else ifneq (,$(strip $(source_repo))) 1.26 + DEFINES += -DSOURCE_GIT_COMMIT='$(source_repo)' 1.27 +endif 1.28 + 1.29 +ifndef BUILD_HOSTNAME 1.30 + BUILD_HOSTNAME = $(shell hostname -s || hostname) 1.31 +endif 1.32 +DEFINES += -DBUILD_HOSTNAME='$(BUILD_HOSTNAME)'