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-27 05:55:07 -08:00
|
|
|
DEFINES += -DGRE_BUILDID=$(GRE_BUILDID)
|
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
|
|
|
|
$(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
|