]> git.saurik.com Git - wxWidgets.git/blame_incremental - distrib/scripts/mac/macbuild
restore cvs up
[wxWidgets.git] / distrib / scripts / mac / macbuild
... / ...
CommitLineData
1#!/bin/sh
2
3# you need to change this if you run from outside this dir.
4if [ "$WXROOT" = "" ]; then
5 WXROOT=../../..
6fi
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
15if [ "$UNIVERSAL" = "1" ]; then
16 OTHER_OPTS="--enable-universal_binary "
17fi
18
19do_build
20
21make prefix=$INSTALLDIR install
22
23if [ "$WXPYTHON" == "1" ]; then
24 make -C contrib/src/gizmos prefix=$INSTALLDIR install
25 make -C contrib/src/stc prefix=$INSTALLDIR install
26fi
27
28cd $OLDDIR