]> git.saurik.com Git - wxWidgets.git/blob - distrib/scripts/mac/macbuild
implementing changes in toolbartool directly
[wxWidgets.git] / distrib / scripts / mac / macbuild
1 #!/bin/sh
2
3 # you need to change this if you run from outside this dir.
4 if [ "$WXROOT" = "" ]; then
5 scriptDir="$(cd $(dirname $0);pwd)"
6 WXROOT=$scriptDir/../../..
7 fi
8
9 . $WXROOT/distrib/scripts/includes/configure_build.inc
10
11 . $WXROOT/distrib/scripts/mac/mac_options.inc
12
13 # most of this script is shared with other Mac-based and other
14 # configure-based build scripts, which is why this looks a little empty.
15
16 if [ "$UNIVERSAL" = "1" ]; then
17 OTHER_OPTS="$OTHER_OPTS --enable-universal_binary --with-libjpeg=builtin --with-libpng=builtin"
18 fi
19
20 mkdir -p builds
21 cd builds
22 do_build
23
24 make prefix=$INSTALLDIR install
25
26 if [ "$WXPYTHON" == "1" ]; then
27 make -C contrib/src/gizmos prefix=$INSTALLDIR install
28 make -C contrib/src/stc prefix=$INSTALLDIR install
29 fi
30
31 cd $OLDDIR