|
1 # This Source Code Form is subject to the terms of the Mozilla Public |
|
2 # License, v. 2.0. If a copy of the MPL was not distributed with this |
|
3 # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
|
4 |
|
5 include $(topsrcdir)/config/rules.mk |
|
6 |
|
7 ######################################### |
|
8 # application.ini |
|
9 |
|
10 GRE_BUILDID := $(shell cat $(DEPTH)/config/buildid) |
|
11 DEFINES += -DGRE_BUILDID=$(GRE_BUILDID) -DMOZ_APP_BASENAME=$(MOZ_APP_BASENAME) |
|
12 |
|
13 # 'application.ini' breaks firefox build config. So we use something different. |
|
14 metroapp.ini: metroapp.ini.in $(DEPTH)/config/buildid $(topsrcdir)/config/milestone.txt |
|
15 $(RM) metroapp.ini |
|
16 $(call py_action,preprocessor,$(DEFINES) $< -o $@) |
|
17 |
|
18 libs:: metroapp.ini |
|
19 $(INSTALL) metroapp.ini $(FINAL_TARGET) |
|
20 |
|
21 ######################################### |
|
22 |
|
23 GARBAGE += metroapp.ini |