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