toolkit/locales/Makefile.in

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     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/.
     5 DEFINES += -DAB_CD=$(AB_CD)
     7 XULPPFLAGS += -I$(LOCALE_SRCDIR)/defines.inc
     9 include $(topsrcdir)/config/rules.mk
    11 ifdef LOCALE_MERGEDIR
    12 vpath crashreporter.% $(LOCALE_MERGEDIR)/toolkit/crashreporter
    13 endif
    14 vpath crashreporter.% $(LOCALE_SRCDIR)/crashreporter
    15 ifdef LOCALE_MERGEDIR
    16 vpath crashreporter.% @srcdir@/en-US/crashreporter
    17 endif
    19 libs-%:
    20 	@$(MAKE) -C ../../netwerk/locales/ libs AB_CD=$* XPI_NAME=locale-$*
    21 	@$(MAKE) -C ../../dom/locales/ libs AB_CD=$* XPI_NAME=locale-$*
    22 	@$(MAKE) -C ../../security/manager/locales/ libs AB_CD=$* XPI_NAME=locale-$*
    23 	@$(MAKE) libs AB_CD=$* XPI_NAME=locale-$*
    25 # target to be used by multi-locale l10n builds, just add this locale 
    26 # like regular chrome code
    27 chrome-%:
    28 	@$(MAKE) -C $(DEPTH)/netwerk/locales/ chrome AB_CD=$*
    29 	@$(MAKE) -C $(DEPTH)/dom/locales/ chrome AB_CD=$*
    30 	@$(MAKE) -C $(DEPTH)/security/manager/locales/ chrome AB_CD=$*
    31 	@$(MAKE) chrome AB_CD=$*
    33 ifdef MOZ_UPDATER
    34 libs:: update.locale
    35 	sed -e 's/%AB_CD%/$(AB_CD)/' $< > $(FINAL_TARGET)/update.locale
    36 endif
    38 ifdef MOZ_CRASHREPORTER
    39 libs:: crashreporter.ini
    40 ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
    41 	$(SYSINSTALL) $(IFLAGS1) $^ $(FINAL_TARGET)/crashreporter.app/Contents/MacOS
    42 else
    43 	$(SYSINSTALL) $(IFLAGS1) $^ $(FINAL_TARGET)
    44 endif
    45 endif

mercurial