1998-08-20 00:42:14 +04:00
|
|
|
#
|
2012-05-21 15:12:37 +04: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/.
|
1998-08-20 00:42:14 +04:00
|
|
|
|
1998-11-12 01:29:18 +03:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|
2001-11-03 08:12:57 +03:00
|
|
|
GARBAGE += $(addprefix $(DIST)/bin/defaults/pref/, \
|
2009-10-04 14:44:52 +04:00
|
|
|
mailnews.js editor.js \
|
2014-02-11 02:57:01 +04:00
|
|
|
aix.js unix.js winpref.js)
|
2004-06-25 17:03:48 +04:00
|
|
|
|
2009-10-04 14:44:52 +04:00
|
|
|
GARBAGE += greprefs.js
|
|
|
|
|
2013-01-07 04:15:51 +04:00
|
|
|
# TODO bug 813259 external files should be defined near their location in the source tree.
|
|
|
|
grepref_files = $(topsrcdir)/netwerk/base/public/security-prefs.js $(srcdir)/init/all.js
|
|
|
|
|
2013-01-12 01:45:22 +04:00
|
|
|
ifdef MOZ_DATA_REPORTING
|
|
|
|
grepref_files += $(topsrcdir)/services/datareporting/datareporting-prefs.js
|
|
|
|
endif
|
|
|
|
|
2013-01-07 04:15:51 +04:00
|
|
|
ifdef MOZ_SERVICES_HEALTHREPORT
|
2013-05-11 08:30:57 +04:00
|
|
|
ifneq (android,$(MOZ_WIDGET_TOOLKIT))
|
2013-01-07 04:15:51 +04:00
|
|
|
grepref_files += $(topsrcdir)/services/healthreport/healthreport-prefs.js
|
2013-05-11 08:30:57 +04:00
|
|
|
else
|
|
|
|
grepref_files += $(topsrcdir)/mobile/android/chrome/content/healthreport-prefs.js
|
|
|
|
endif
|
2013-01-07 04:15:51 +04:00
|
|
|
endif
|
2009-10-04 14:44:52 +04:00
|
|
|
|
2013-01-07 04:15:51 +04:00
|
|
|
greprefs.js: $(grepref_files)
|
2013-11-09 05:35:44 +04:00
|
|
|
$(call py_action,preprocessor,$(PREF_PPFLAGS) $(DEFINES) $(ACDEFINES) $(XULPPFLAGS) $^ -o $@)
|
2009-10-04 14:44:52 +04:00
|
|
|
|
|
|
|
libs:: greprefs.js
|
|
|
|
$(INSTALL) $^ $(DIST)/bin/
|