Bug 841126: Update DataChannels to use new stack option to ignore port numbers over...
[gecko.git] / toolkit / locales / Makefile.in
blobbb88f1577263605af3fdd38c1093a6670677f5f4
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 DEPTH = @DEPTH@
6 topsrcdir = @top_srcdir@
7 srcdir = @srcdir@
8 VPATH = @srcdir@
9 relativesrcdir = @relativesrcdir@
11 include $(DEPTH)/config/autoconf.mk
13 DEFINES += -DAB_CD=$(AB_CD)
15 XULPPFLAGS += -I$(LOCALE_SRCDIR)/defines.inc
17 include $(topsrcdir)/config/rules.mk
19 ifdef LOCALE_MERGEDIR
20 vpath crashreporter.% $(LOCALE_MERGEDIR)/toolkit/crashreporter
21 endif
22 vpath crashreporter.% $(LOCALE_SRCDIR)/crashreporter
23 ifdef LOCALE_MERGEDIR
24 vpath crashreporter.% @srcdir@/en-US/crashreporter
25 endif
27 libs-%:
28 @$(MAKE) -C ../../netwerk/locales/ libs AB_CD=$* XPI_NAME=locale-$*
29 @$(MAKE) -C ../../dom/locales/ libs AB_CD=$* XPI_NAME=locale-$*
30 ifdef MOZ_PSM
31 @$(MAKE) -C ../../security/manager/locales/ libs AB_CD=$* XPI_NAME=locale-$*
32 endif
33 @$(MAKE) libs AB_CD=$* XPI_NAME=locale-$*
35 # target to be used by multi-locale l10n builds, just add this locale
36 # like regular chrome code
37 chrome-%:
38 @$(MAKE) -C $(DEPTH)/netwerk/locales/ chrome AB_CD=$*
39 @$(MAKE) -C $(DEPTH)/dom/locales/ chrome AB_CD=$*
40 ifdef MOZ_PSM
41 @$(MAKE) -C $(DEPTH)/security/manager/locales/ chrome AB_CD=$*
42 endif
43 @$(MAKE) chrome AB_CD=$*
45 ifdef MOZ_UPDATER
46 libs:: update.locale
47 cat $< | sed -e "s/%AB_CD%/$(AB_CD)/" > $(FINAL_TARGET)/update.locale
48 endif
50 ifdef MOZ_CRASHREPORTER
51 libs:: crashreporter.ini
52 ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
53 $(SYSINSTALL) $(IFLAGS1) $^ $(FINAL_TARGET)/crashreporter.app/Contents/MacOS
54 else
55 $(SYSINSTALL) $(IFLAGS1) $^ $(FINAL_TARGET)
56 endif
57 endif