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/.
5 include $(topsrcdir
)/config
/rules.mk
7 #########################################
10 GRE_BUILDID
:= $(shell cat
$(DEPTH
)/config
/buildid
)
11 DEFINES
+= -DGRE_BUILDID
=$(GRE_BUILDID
) -DMOZ_APP_BASENAME
=$(MOZ_APP_BASENAME
)
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
16 $(call py_action
,preprocessor
,$(DEFINES
) $< -o
$@
)
19 $(INSTALL
) metroapp.ini
$(FINAL_TARGET
)
21 #########################################
23 GARBAGE
+= metroapp.ini