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 file,
3 # You can obtain one at http://mozilla.org/MPL/2.0/.
5 # Include config.mk explicitly so we can override FINAL_TARGET.
6 include $(topsrcdir
)/config
/config.mk
8 PREF_JS_EXPORTS
= $(srcdir)/prefs.js \
11 include $(topsrcdir
)/config
/rules.mk
13 libs
:: $(call mkdir_deps
,$(FINAL_TARGET
))
14 $(call py_action
,buildlist
,$(FINAL_TARGET
)/chrome.manifest
'resource webapprt ./')
16 GRE_BUILDID
:= $(shell cat
$(DEPTH
)/config
/buildid
)
17 DEFINES
+= -DGRE_BUILDID
=$(GRE_BUILDID
)
19 webapprt.ini
: application.ini.in
$(DEPTH
)/config
/buildid
$(topsrcdir
)/config
/milestone.txt
20 $(call py_action
,preprocessor
,$(DEFINES
) $< -o
$@
)
23 $(INSTALL
) webapprt.ini
$(FINAL_TARGET
)
25 GARBAGE
+= webapprt.ini