2013-02-12 12:51:25 -08: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 09:44:02 -08:00
|
|
|
DEFINES += -DGRE_BUILDID=$(GRE_BUILDID) -DMOZ_APP_BASENAME=$(MOZ_APP_BASENAME)
|
2013-02-12 12:51:25 -08: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 13:34:21 -08:00
|
|
|
$(RM) metroapp.ini
|
2013-11-08 17:35:44 -08:00
|
|
|
$(call py_action,preprocessor,$(DEFINES) $< -o $@)
|
2013-02-12 12:51:25 -08:00
|
|
|
|
|
|
|
libs:: metroapp.ini
|
|
|
|
$(INSTALL) metroapp.ini $(FINAL_TARGET)
|
|
|
|
|
|
|
|
#########################################
|
|
|
|
|
|
|
|
GARBAGE += metroapp.ini
|