toolkit/locales/Makefile.in

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:36a0ed21cc59
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/.
4
5 DEFINES += -DAB_CD=$(AB_CD)
6
7 XULPPFLAGS += -I$(LOCALE_SRCDIR)/defines.inc
8
9 include $(topsrcdir)/config/rules.mk
10
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
18
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-$*
24
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=$*
32
33 ifdef MOZ_UPDATER
34 libs:: update.locale
35 sed -e 's/%AB_CD%/$(AB_CD)/' $< > $(FINAL_TARGET)/update.locale
36 endif
37
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