michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this file, michael@0: # You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: # Include config.mk explicitly so we can override FINAL_TARGET. michael@0: include $(topsrcdir)/config/config.mk michael@0: michael@0: PREF_JS_EXPORTS = $(srcdir)/prefs.js \ michael@0: $(NULL) michael@0: michael@0: include $(topsrcdir)/config/rules.mk michael@0: michael@0: libs:: $(call mkdir_deps,$(FINAL_TARGET)) michael@0: $(call py_action,buildlist,$(FINAL_TARGET)/chrome.manifest 'resource webapprt ./') michael@0: michael@0: GRE_BUILDID := $(shell cat $(DEPTH)/config/buildid) michael@0: DEFINES += -DGRE_BUILDID=$(GRE_BUILDID) michael@0: michael@0: webapprt.ini: application.ini.in $(DEPTH)/config/buildid $(topsrcdir)/config/milestone.txt michael@0: $(call py_action,preprocessor,$(DEFINES) $< -o $@) michael@0: michael@0: libs:: webapprt.ini michael@0: $(INSTALL) webapprt.ini $(FINAL_TARGET) michael@0: michael@0: GARBAGE += webapprt.ini