michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: DEFINES += -DAB_CD=$(AB_CD) michael@0: michael@0: XULPPFLAGS += -I$(LOCALE_SRCDIR)/defines.inc michael@0: michael@0: include $(topsrcdir)/config/rules.mk michael@0: michael@0: ifdef LOCALE_MERGEDIR michael@0: vpath crashreporter.% $(LOCALE_MERGEDIR)/toolkit/crashreporter michael@0: endif michael@0: vpath crashreporter.% $(LOCALE_SRCDIR)/crashreporter michael@0: ifdef LOCALE_MERGEDIR michael@0: vpath crashreporter.% @srcdir@/en-US/crashreporter michael@0: endif michael@0: michael@0: libs-%: michael@0: @$(MAKE) -C ../../netwerk/locales/ libs AB_CD=$* XPI_NAME=locale-$* michael@0: @$(MAKE) -C ../../dom/locales/ libs AB_CD=$* XPI_NAME=locale-$* michael@0: @$(MAKE) -C ../../security/manager/locales/ libs AB_CD=$* XPI_NAME=locale-$* michael@0: @$(MAKE) libs AB_CD=$* XPI_NAME=locale-$* michael@0: michael@0: # target to be used by multi-locale l10n builds, just add this locale michael@0: # like regular chrome code michael@0: chrome-%: michael@0: @$(MAKE) -C $(DEPTH)/netwerk/locales/ chrome AB_CD=$* michael@0: @$(MAKE) -C $(DEPTH)/dom/locales/ chrome AB_CD=$* michael@0: @$(MAKE) -C $(DEPTH)/security/manager/locales/ chrome AB_CD=$* michael@0: @$(MAKE) chrome AB_CD=$* michael@0: michael@0: ifdef MOZ_UPDATER michael@0: libs:: update.locale michael@0: sed -e 's/%AB_CD%/$(AB_CD)/' $< > $(FINAL_TARGET)/update.locale michael@0: endif michael@0: michael@0: ifdef MOZ_CRASHREPORTER michael@0: libs:: crashreporter.ini michael@0: ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT)) michael@0: $(SYSINSTALL) $(IFLAGS1) $^ $(FINAL_TARGET)/crashreporter.app/Contents/MacOS michael@0: else michael@0: $(SYSINSTALL) $(IFLAGS1) $^ $(FINAL_TARGET) michael@0: endif michael@0: endif