# //,suite,mail,calendar,xulrunner
. $topsrcdir/calendar/sunbird/config/mozconfig

# //The outputdir for the build
mk_add_options MOZ_OBJDIR=/objects/moz-sb

### //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

### //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 
ac_add_options --enable-static --disable-shared ## STATIC BUILD
#ac_add_options --disable-static --enabled-shared ## SHARED Libraries

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

### Optional optimizations
export BUILD_OPT=1
mk_add_options BUILD_OPT=1
ac_add_options --enable-optimize=-O1 -march=pentium -mcpu=pentiumpro'
