modules/libpref/src/Makefile.in
author David Rajchenbach-Teller <dteller@mozilla.com>
Fri, 21 Mar 2014 13:44:58 -0400
changeset 174823 8f768ced9020344e75d743ef69cbcffd45b0c07f
parent 167975 58fe9dc85fa4c4eec3407b3a2c7b137a1f7c7ff4
permissions -rw-r--r--
Bug 965527 - More and more logging for OS.File AsyncShutdown. r=froydnj

#
# 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/.

include $(topsrcdir)/config/rules.mk

GARBAGE		+= $(addprefix $(DIST)/bin/defaults/pref/, \
			mailnews.js editor.js \
			aix.js unix.js winpref.js)

GARBAGE		+= greprefs.js

# 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

ifdef MOZ_DATA_REPORTING
grepref_files += $(topsrcdir)/services/datareporting/datareporting-prefs.js
endif

ifdef MOZ_SERVICES_HEALTHREPORT
ifneq (android,$(MOZ_WIDGET_TOOLKIT))
grepref_files += $(topsrcdir)/services/healthreport/healthreport-prefs.js
else
grepref_files += $(topsrcdir)/mobile/android/chrome/content/healthreport-prefs.js
endif
endif

greprefs.js: $(grepref_files)
	$(call py_action,preprocessor,$(PREF_PPFLAGS) $(DEFINES) $(ACDEFINES) $(XULPPFLAGS) $^ -o $@)

libs:: greprefs.js
	$(INSTALL) $^ $(DIST)/bin/