mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-03 05:28:53 +02:00
84 lines
2.7 KiB
Plaintext
84 lines
2.7 KiB
Plaintext
#
|
|
# //See http://www.mozilla.org/build/ for build instructions.
|
|
#
|
|
#
|
|
#this is a comment
|
|
#
|
|
# //Options for client.mk.
|
|
mk_add_options MOZ_CO_PROJECT=suite
|
|
ac_add_options --enable-application=suite
|
|
mk_add_options MOZ_CO_TAG=MOZILLA_1_8_BRANCH
|
|
|
|
export MOZ_PKG_SPECIAL=JustBrowser
|
|
mk_add_options MOZ_PKG_SPECIAL=JustBrowser
|
|
#ac_add_options MOZ_PKG_SPECIAL=JustBrowser
|
|
|
|
### //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-sm-JustBrowser
|
|
|
|
### //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
|
|
|
|
### //Since I'm not ready for Cairo.
|
|
ac_add_options --disable-svg
|
|
ac_add_options --disable-canvas
|
|
|
|
### //Required configure options. Builds will fail without them.
|
|
ac_add_options --enable-cpp-rtti
|
|
|
|
### //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
|
|
|
|
### //Uncomment these for speed. Creates an optimized, stripped static build.
|
|
### //K6's, Pre-Pentium II aren't supported with i586, use i586.
|
|
export BUILD_OPT=1
|
|
mk_add_options BUILD_OPT=1
|
|
ac_add_options --enable-optimize='-O1 -march=pentium -mcpu=pentiumpro'
|
|
|
|
### // I'm getting linking problems.
|
|
### // nsXULElement.cpp:(.text+0x76b9): undefined reference to `JS_XDRNewMem'
|
|
### // and many other 'JS_....' there was some option here --- javascript static or something. well, whatever it was, it doesnt work anymore.
|
|
ac_add_options --enable-strip
|
|
ac_add_options --enable-static --disable-shared ## STATIC BUILD
|
|
#ac_add_options --disable-static --enable-shared ## SHARED Libraries
|
|
|
|
### //Eliminate lots of relatively useless warnings during build
|
|
ac_add_options --disable-cpp-exceptions
|
|
|
|
### // Disable accessibility support
|
|
ac_add_options --disable-accessibility
|
|
|
|
|
|
### // Options for JustBrowser
|
|
|
|
ac_add_options --disable-mailnews
|
|
ac_add_options --disable-composer
|
|
#ac_add_options --enable-plaintext-editor-only
|
|
#ac_add_options --disable-irc
|
|
|
|
|
|
# --disable-postscript
|
|
##ac_add_options --disable-jsd
|
|
# --enable-single-profile
|
|
|