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/.
6 topsrcdir
= @top_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
20 vpath crashreporter.
% $(LOCALE_MERGEDIR
)/toolkit
/crashreporter
22 vpath crashreporter.
% $(LOCALE_SRCDIR
)/crashreporter
24 vpath crashreporter.
% @
srcdir@
/en-US
/crashreporter
28 @
$(MAKE
) -C ..
/..
/netwerk
/locales
/ libs AB_CD
=$* XPI_NAME
=locale-
$*
29 @
$(MAKE
) -C ..
/..
/dom
/locales
/ libs AB_CD
=$* XPI_NAME
=locale-
$*
31 @
$(MAKE
) -C ..
/..
/security
/manager
/locales
/ libs AB_CD
=$* XPI_NAME
=locale-
$*
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
38 @
$(MAKE
) -C
$(DEPTH
)/netwerk
/locales
/ chrome AB_CD
=$*
39 @
$(MAKE
) -C
$(DEPTH
)/dom
/locales
/ chrome AB_CD
=$*
41 @
$(MAKE
) -C
$(DEPTH
)/security
/manager
/locales
/ chrome AB_CD
=$*
43 @
$(MAKE
) chrome AB_CD
=$*
47 cat
$< | sed
-e
"s/%AB_CD%/$(AB_CD)/" > $(FINAL_TARGET
)/update.locale
50 ifdef MOZ_CRASHREPORTER
51 libs
:: crashreporter.ini
52 ifeq (cocoa
,$(MOZ_WIDGET_TOOLKIT
))
53 $(SYSINSTALL
) $(IFLAGS1
) $^
$(FINAL_TARGET
)/crashreporter.app
/Contents
/MacOS
55 $(SYSINSTALL
) $(IFLAGS1
) $^
$(FINAL_TARGET
)