toolkit/locales/Makefile.in

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/toolkit/locales/Makefile.in	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,45 @@
     1.4 +# This Source Code Form is subject to the terms of the Mozilla Public
     1.5 +# License, v. 2.0. If a copy of the MPL was not distributed with this
     1.6 +# file, You can obtain one at http://mozilla.org/MPL/2.0/.
     1.7 +
     1.8 +DEFINES += -DAB_CD=$(AB_CD)
     1.9 +
    1.10 +XULPPFLAGS += -I$(LOCALE_SRCDIR)/defines.inc
    1.11 +
    1.12 +include $(topsrcdir)/config/rules.mk
    1.13 +
    1.14 +ifdef LOCALE_MERGEDIR
    1.15 +vpath crashreporter.% $(LOCALE_MERGEDIR)/toolkit/crashreporter
    1.16 +endif
    1.17 +vpath crashreporter.% $(LOCALE_SRCDIR)/crashreporter
    1.18 +ifdef LOCALE_MERGEDIR
    1.19 +vpath crashreporter.% @srcdir@/en-US/crashreporter
    1.20 +endif
    1.21 +
    1.22 +libs-%:
    1.23 +	@$(MAKE) -C ../../netwerk/locales/ libs AB_CD=$* XPI_NAME=locale-$*
    1.24 +	@$(MAKE) -C ../../dom/locales/ libs AB_CD=$* XPI_NAME=locale-$*
    1.25 +	@$(MAKE) -C ../../security/manager/locales/ libs AB_CD=$* XPI_NAME=locale-$*
    1.26 +	@$(MAKE) libs AB_CD=$* XPI_NAME=locale-$*
    1.27 +
    1.28 +# target to be used by multi-locale l10n builds, just add this locale 
    1.29 +# like regular chrome code
    1.30 +chrome-%:
    1.31 +	@$(MAKE) -C $(DEPTH)/netwerk/locales/ chrome AB_CD=$*
    1.32 +	@$(MAKE) -C $(DEPTH)/dom/locales/ chrome AB_CD=$*
    1.33 +	@$(MAKE) -C $(DEPTH)/security/manager/locales/ chrome AB_CD=$*
    1.34 +	@$(MAKE) chrome AB_CD=$*
    1.35 +
    1.36 +ifdef MOZ_UPDATER
    1.37 +libs:: update.locale
    1.38 +	sed -e 's/%AB_CD%/$(AB_CD)/' $< > $(FINAL_TARGET)/update.locale
    1.39 +endif
    1.40 +
    1.41 +ifdef MOZ_CRASHREPORTER
    1.42 +libs:: crashreporter.ini
    1.43 +ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
    1.44 +	$(SYSINSTALL) $(IFLAGS1) $^ $(FINAL_TARGET)/crashreporter.app/Contents/MacOS
    1.45 +else
    1.46 +	$(SYSINSTALL) $(IFLAGS1) $^ $(FINAL_TARGET)
    1.47 +endif
    1.48 +endif

mercurial