I'm attaching the scripts I used to build mozilla on a daily basis for
Linux.  Hopefully, they will help people debug their own problems as
well as help people build SSL for Mozilla.

If you use these as is, they will build an optimized and debug tree.
The optimized tree lives under mozilla/opt-build, the debug build under
mozilla/debug-build.


--
Javier Delgadillo            Sun / Netscape Alliance
(408) 276-3977               Software Engineer
mailto:[EMAIL PROTECTED]     http://people.netscape.com/javi


#!/bin/sh

cvs co mozilla/client.mk
cd mozilla
gmake -f client.mk pull_all BUILD_MODULES=psm2
gmake -f client.mk pull_all
build_opt
build_debug
#!/bin/sh
BUILD_DIR=debug-build

if test ! -d $BUILD_DIR; then mkdir $BUILD_DIR; fi
cd $BUILD_DIR
../configure 
gmake
../configure --enable-modules=psm2
gmake BUILD_MODULES=psm2
cd dist/bin
./regxpcom
./regchrome
#!/bin/sh

BUILD_DIR=opt-build
DEF_CONF_PARAMS="--enable-optimize --disable-debug"

if test ! -d $BUILD_DIR; then mkdir $BUILD_DIR; fi
cd $BUILD_DIR
../configure $DEF_CONF_PARAMS
gmake 
../configure --enable-modules=psm2 $DEF_CONF_PARAMS
gmake BUILD_MODULES=psm2
cd dist/bin
./regxpcom
./regchrome

Reply via email to