2012-04-17 18:11:53 +04: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/.
|
|
|
|
|
2012-05-07 21:45:53 +04:00
|
|
|
# Include config.mk explicitly so we can override FINAL_TARGET.
|
2012-04-17 18:11:53 +04:00
|
|
|
include $(topsrcdir)/config/config.mk
|
|
|
|
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|
2013-03-11 07:03:28 +04:00
|
|
|
libs:: $(call mkdir_deps,$(FINAL_TARGET))
|
2013-12-03 01:34:21 +04:00
|
|
|
$(call py_action,buildlist,$(FINAL_TARGET)/chrome.manifest 'resource webapprt ./')
|
2012-04-19 11:39:52 +04:00
|
|
|
|
2012-04-17 18:11:53 +04:00
|
|
|
GRE_BUILDID := $(shell cat $(DEPTH)/config/buildid)
|
2013-11-27 17:55:07 +04:00
|
|
|
DEFINES += -DGRE_BUILDID=$(GRE_BUILDID)
|
2012-04-17 18:11:53 +04:00
|
|
|
|
2012-04-21 22:41:50 +04:00
|
|
|
webapprt.ini: application.ini.in $(DEPTH)/config/buildid $(topsrcdir)/config/milestone.txt
|
2013-11-09 05:35:44 +04:00
|
|
|
$(call py_action,preprocessor,$(DEFINES) $< -o $@)
|
2012-04-17 18:11:53 +04:00
|
|
|
|
2012-04-21 22:41:50 +04:00
|
|
|
libs:: webapprt.ini
|
|
|
|
$(INSTALL) webapprt.ini $(FINAL_TARGET)
|
2012-04-17 18:11:53 +04:00
|
|
|
|
2012-04-21 22:41:50 +04:00
|
|
|
GARBAGE += webapprt.ini
|