2006-05-03 00:36:17 -04:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
HOMEDIR="$PWD"
|
|
|
|
|
|
|
|
BUILDDIR_ROOT="$PWD/builds"
|
|
|
|
|
|
|
|
export WXROOT="$HOMEDIR/../../.."
|
|
|
|
|
2006-07-05 00:09:40 -04:00
|
|
|
do_builds {
|
|
|
|
PORT=$1
|
|
|
|
BUILDDIR=$BUILDDIR_ROOT/$PORT
|
|
|
|
mkdir -p $BUILDDIR
|
|
|
|
pushd $BUILDDIR
|
|
|
|
|
|
|
|
# TODO: add the lipo universal builds to this
|
|
|
|
export WXROOT="$HOMEDIR/../../.."
|
|
|
|
export INSTALLDIR="$BUILDDIR/install-ansi"
|
|
|
|
$HOMEDIR/macbuild $PORT
|
|
|
|
|
|
|
|
export INSTALLDIR="$BUILDDIR/install-unicode"
|
|
|
|
$HOMEDIR/macbuild $PORT unicode
|
|
|
|
|
|
|
|
export INSTALLDIR="$BUILDDIR/install-static-ansi"
|
|
|
|
$HOMEDIR/macbuild $PORT static
|
|
|
|
|
|
|
|
export INSTALLDIR="$BUILDDIR/install-static-unicode"
|
|
|
|
$HOMEDIR/macbuild $PORT static unicode
|
|
|
|
|
|
|
|
popd
|
|
|
|
}
|
|
|
|
|
|
|
|
do_builds "carbon"
|
|
|
|
|
|
|
|
do_builds "cocoa"
|