export MOZILLA_OFFICIAL=1
mk_add_options MOZILLA_OFFICIAL=1

mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../obj-instantbird
ac_add_options --enable-application=instantbird
mk_add_options MOZ_MAKE_FLAGS=-j2
ac_add_options --disable-tests

# Either --enable-debug or --enable-optimize should be specified;
# --enable-debugger-info-mobules ensures that debugging symbols are available
# even with an optimized build.

#ac_add_options --enable-debug
ac_add_options --enable-optimize
ac_add_options --enable-debugger-info-modules
ac_add_options --disable-jemalloc
ac_add_options --enable-official-branding

ac_add_options --enable-libxul

# These parameters work only with VC9, not VC8
# Note that you need to give both CFLAGS and CXXFLAGS
#CFLAGS="-QRarch6 -QRfpe-"
#CXXFLAGS="-QRarch6 -QRfpe-"

# Disable some things that aren't necessary right now;
# these might or might not actually work should they be needed.
ac_add_options --disable-javaxpcom
ac_add_options --disable-accessibility
ac_add_options --disable-printing
ac_add_options --disable-oji
ac_add_options --disable-vista-sdk-requirements
ac_add_options --disable-updater
ac_add_options --disable-installer
ac_add_options --disable-dbm
ac_add_options --disable-ogg

ac_add_options --disable-activex
ac_add_options --disable-activex-scripting

ac_add_options --enable-splashscreen
ac_add_options --enable-faststripe

ac_add_options --disable-windows-mobile-components

export CROSS_COMPILE=1
export MIDL=/c/Program\ Files/Microsoft\ Visual\ Studio\ 8/VC/ce/bin/x86_arm/midl.exe

ac_add_options --target=arm-wince
ac_add_options --enable-win32-target=WINCE
ac_add_options --enable-default-toolkit=cairo-windows

# Note that a path with spaces would not work for this option
ac_add_options --with-wince-sdk="c:/mozilla-build/sdkce50"
