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