2013-02-12 20:51:25 +00: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/.
|
|
|
|
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|
|
|
|
#########################################
|
|
|
|
# application.ini
|
|
|
|
|
|
|
|
GRE_BUILDID := $(shell cat $(DEPTH)/config/buildid)
|
2013-11-19 17:44:02 +00:00
|
|
|
DEFINES += -DGRE_BUILDID=$(GRE_BUILDID) -DMOZ_APP_BASENAME=$(MOZ_APP_BASENAME)
|
2013-02-12 20:51:25 +00:00
|
|
|
|
|
|
|
# 'application.ini' breaks firefox build config. So we use something different.
|
|
|
|
metroapp.ini: metroapp.ini.in $(DEPTH)/config/buildid $(topsrcdir)/config/milestone.txt
|
2013-12-02 21:34:21 +00:00
|
|
|
$(RM) metroapp.ini
|
2013-11-09 01:35:44 +00:00
|
|
|
$(call py_action,preprocessor,$(DEFINES) $< -o $@)
|
2013-02-12 20:51:25 +00:00
|
|
|
|
|
|
|
libs:: metroapp.ini
|
|
|
|
$(INSTALL) metroapp.ini $(FINAL_TARGET)
|
|
|
|
|
|
|
|
#########################################
|
|
|
|
|
|
|
|
GARBAGE += metroapp.ini
|