]> git.saurik.com Git - wxWidgets.git/blob - distrib/scripts/mac/macbuild
[ 1577675 ] Fix for GTK warnings in wxNotebook::DoRemovePage
[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 WXROOT=../../..
6 fi
7
8 . $WXROOT/distrib/scripts/includes/configure_build.inc
9
10 . $WXROOT/distrib/scripts/mac/mac_options.inc
11
12 # most of this script is shared with other Mac-based and other
13 # configure-based build scripts, which is why this looks a little empty.
14
15 if [ "$UNIVERSAL" = "1" ]; then
16 OTHER_OPTS="--enable-universal_binary "
17 fi
18
19 do_build
20
21 make prefix=$INSTALLDIR install
22
23 if [ "$WXPYTHON" == "1" ]; then
24 make -C contrib/src/animate prefix=$INSTALLDIR install
25 make -C contrib/src/gizmos prefix=$INSTALLDIR install
26 make -C contrib/src/stc prefix=$INSTALLDIR install
27 fi
28
29 cd $OLDDIR