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
3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
6 topsrcdir
:= @top_srcdir@
10 include $(DEPTH
)/config
/autoconf.mk
12 # Definitions used by constants.js.
13 weave_version
:= 1.27.0
14 weave_id
:= {340c2bbc-ce74-4362-90b5-7c26312808ef
}
17 SYNC_PP
:= modules
/constants.js
19 -Dweave_version
=$(weave_version
) \
20 -Dweave_id
=$(weave_id
)
21 SYNC_PP_PATH
= $(FINAL_TARGET
)/modules
/services-sync
24 # The set of core JavaScript modules for Sync. These are copied as-is.
44 # The set of JavaScript modules provide engines for Sync. These are
46 sync_engine_modules
:= \
58 sync_stage_modules
:= \
63 sync_testing_modules
:= \
70 SyncComponents.manifest \
74 PREF_JS_EXPORTS
:= $(srcdir)/services-sync.js
76 # Install JS module files.
77 SYNC_MAIN_FILES
:= $(addprefix modules
/,$(sync_modules
))
78 SYNC_MAIN_DEST
= $(FINAL_TARGET
)/modules
/services-sync
79 INSTALL_TARGETS
+= SYNC_MAIN
81 SYNC_ENGINES_FILES
:= $(addprefix modules
/engines
/,$(sync_engine_modules
))
82 SYNC_ENGINES_DEST
= $(FINAL_TARGET
)/modules
/services-sync
/engines
83 INSTALL_TARGETS
+= SYNC_ENGINES
85 SYNC_STAGES_FILES
:= $(addprefix modules
/stages
/,$(sync_stage_modules
))
86 SYNC_STAGES_DEST
= $(FINAL_TARGET
)/modules
/services-sync
/stages
87 INSTALL_TARGETS
+= SYNC_STAGES
89 TESTING_JS_MODULES
:= $(addprefix modules-testing
/,$(sync_testing_modules
))
90 TESTING_JS_MODULE_DIR
:= services
/sync
92 include $(topsrcdir
)/config
/rules.mk