michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: include $(topsrcdir)/config/rules.mk michael@0: michael@0: ######################################### michael@0: # application.ini michael@0: michael@0: GRE_BUILDID := $(shell cat $(DEPTH)/config/buildid) michael@0: DEFINES += -DGRE_BUILDID=$(GRE_BUILDID) -DMOZ_APP_BASENAME=$(MOZ_APP_BASENAME) michael@0: michael@0: # 'application.ini' breaks firefox build config. So we use something different. michael@0: metroapp.ini: metroapp.ini.in $(DEPTH)/config/buildid $(topsrcdir)/config/milestone.txt michael@0: $(RM) metroapp.ini michael@0: $(call py_action,preprocessor,$(DEFINES) $< -o $@) michael@0: michael@0: libs:: metroapp.ini michael@0: $(INSTALL) metroapp.ini $(FINAL_TARGET) michael@0: michael@0: ######################################### michael@0: michael@0: GARBAGE += metroapp.ini