#
# //See http://www.mozilla.org/build/ for build instructions.
#
#
#this is a comment
#
# //Options for client.mk.
# Uncomment this line to buiild Thunderbird 
. $topsrcdir/mail/config/mozconfig
mk_add_options MOZ_CO_PROJECT=mail,calendar
ac_add_options --enable-extensions=default,lightning


### Required to download the right version of the source code
mk_add_options MOZ_CO_TAG=MOZILLA_1_8_BRANCH

### //EDIT THESE VALUES TO REFLECT YOUR LOCAL BUILD ###
export GLIB_CONFIG=/boot/common/bin/glib-config
mk_add_options GLIB_CONFIG=/boot/common/bin/glib-config

export LIBIDL_CONFIG=/boot/common/bin/libIDL-config
mk_add_options LIBIDL_CONFIG=/boot/common/bin/libIDL-config

export CVSROOT=:pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot
mk_add_options CVSROOT=:pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot

### //Set the outputdir for the build
mk_add_options MOZ_OBJDIR=/objects/moz-tb-lightning

### //Automatic updates not currently supported on BeOS.  Delete this when we add this feature.
ac_add_options --disable-updater

### //Explicitly enable native BeOS threading
ac_add_options --with-bthreads

### //We don't have Java for BeOS yet. While this builds fine, it is not useful. 
ac_add_options --disable-oji

### //Explicitly enable Postscript printing
#ac_add_options --enable-postscript

### //Build without Cairo
ac_add_options --disable-svg
ac_add_options --disable-canvas

### //Reduce build size and time by omitting test suite and IPv6 support (not needed on BeOS)
ac_add_options --disable-tests
ac_add_options --disable-ipv6

### //Required configure options
ac_add_options --enable-cpp-rtti 

### // Static builds are causing some problems (Bug 330753)
#ac_add_options --enable-static --disable-shared ## STATIC BUILD
ac_add_options --disable-static  ## SHARED Libraries

### Optional optimizations
ac_add_options --enable-optimize='-O1 -march=pentium -mcpu=pentiumpro'

### //Eliminate lots of relatively useless warnings during build
ac_add_options --disable-cpp-exceptions

### //Options that only need to be applied by an official builder
#ac_add_options --enable-official-branding
