# HG changeset patch
# User t_mrc-ct@sourceforge.jp
# Date 1349695343 -32400
# Branch GECKO10011_2012111513_RELBRANCH
# Node ID b1201d261c5b4df9aa781cb6194518ec72ae905e
# Parent  cacef124142b622c4bbca97100b186fbfb64cb95
l10n support

diff --git a/LANGPACK.mozcfg b/LANGPACK.mozcfg
new file mode 100644
--- /dev/null
+++ b/LANGPACK.mozcfg
@@ -0,0 +1,24 @@
+ac_add_options --enable-application=mail
+ac_add_options --enable-calendar
+mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-tbird-langpack
+
+ac_add_options --disable-compile-environment
+ac_add_options --with-l10n-base=$topsrcdir/../l10n-release
+
+mk_add_options AUTOCONF=autoconf213
+ac_add_options --disable-tests
+ac_add_options --disable-static
+ac_add_options --enable-optimize
+ac_add_options --disable-cpp-exceptions
+ac_add_options --disable-debug
+ac_add_options --disable-crashreporter
+ac_add_options --enable-printing
+ac_add_options --enable-prebinding
+ac_add_options --enable-macos-target=10.4
+ac_add_options --enable-chrome-format=jar
+ac_add_options --with-macos-sdk=/Developer/SDKs/MacOSX10.4u.sdk
+ac_add_options --enable-tenfourfox-vmx
+ac_add_options --enable-tenfourfox-g5
+ac_add_options --enable-strip
+ac_add_options --enable-install-strip
+ac_add_options --with-system-jpeg
diff --git a/calendar/locales/Makefile.in b/calendar/locales/Makefile.in
--- a/calendar/locales/Makefile.in
+++ b/calendar/locales/Makefile.in
@@ -93,6 +93,15 @@
 clobber-%:
 	$(RM) -rf $(DIST)/xpi-stage/locale-$*
 
+lightning-langpack-libs-%:
+	$(NSINSTALL) -D $(DIST)/install
+	@$(MAKE) -C ../lightning/locales libs AB_CD=$* XPI_NAME=locale-$* PREF_DIR=defaults/pref BOTH_MANIFESTS=1
+	@$(MAKE) libs AB_CD=$* XPI_NAME=locale-$* PREF_DIR=defaults/pref BOTH_MANIFESTS=1
+
+
+# PACKAGER_NO_LIBS = 1
+# include $(MOZILLA_SRCDIR)/toolkit/mozapps/installer/packager.mk
+
 libs-%:
 	$(NSINSTALL) -D $(DIST)/install
 	@$(MAKE) -C ../../mozilla/toolkit/locales libs-$* BOTH_MANIFESTS=1
diff --git a/mail/locales/Makefile.in b/mail/locales/Makefile.in
--- a/mail/locales/Makefile.in
+++ b/mail/locales/Makefile.in
@@ -115,6 +115,9 @@
 	@$(MAKE) -C ../../editor/ui/locales AB_CD=$* XPI_NAME=locale-$* BOTH_MANIFESTS=1
 	@$(MAKE) -C ../../mozilla/extensions/spellcheck/locales AB_CD=$* XPI_NAME=locale-$* BOTH_MANIFESTS=1
 	@$(MAKE) -C ../../mozilla/intl/locales AB_CD=$* XPI_NAME=locale-$* BOTH_MANIFESTS=1
+ifdef MOZ_CALENDAR
+	@$(MAKE) -C ../../calendar/locales lightning-langpack-libs-$* BOTH_MANIFESTS=1
+endif
 	@$(MAKE) libs AB_CD=$* XPI_NAME=locale-$* PREF_DIR=defaults/pref BOTH_MANIFESTS=1
 	@$(MAKE) -C $(DEPTH)/$(MOZ_BRANDING_DIRECTORY)/locales AB_CD=$* XPI_NAME=locale-$* BOTH_MANIFESTS=1
 
