#
# See http://www.mozilla.org/build/ for build instructions.
#

. $topsrcdir/mail/config/mozconfig

# Options for client.mk.
mk_add_options MOZ_CO_PROJECT=mail
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-@CONFIG_GUESS@
mk_add_options MOZ_MAKE_FLAGS=-j3

# Options for 'configure' (same as command-line options).
ac_add_options --enable-application=mail
ac_add_options --enable-official-branding
ac_add_options --enable-default-toolkit=gtk2
ac_add_options --enable-static
ac_add_options --enable-update-channel=release
ac_add_options --enable-update-packaging
ac_add_options --enable-xft
ac_add_options --disable-gnomevfs
ac_add_options --disable-freetype2
ac_add_options --disable-shared
ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --prefix=/usr
ac_add_options --libdir=/usr/lib64

# The next option is needed (even if the option value is blank) to get
# mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_linux_s390.cpp to compile at all
# The error that is received is:
# "error: can't find a register in class GENERAL_REGS while reloading 'asm'"
# If a blank option is specified, it defaults to whatever values of "-O?" that the
# developers thought appropriate for any given module.
#ac_add_options --enable-optimize

