-
-# # For some reason Rez and DeRez have started locking up if run via
-# # an ssh terminal. Figure out why, but in the meantime...
-# if [ "$CHARTYPE" = "ansi" ]; then
-# echo cp /projects/wx2.5/bld/lib/libwx_macd-2.5.?.r* lib
-# cp /projects/wx2.5/bld/lib/libwx_macd-2.5.?.r* lib
-# else
-# echo cp /projects/wx2.5/bld-unicode/lib/libwx_macud-2.5.?.r* lib
-# cp /projects/wx2.5/bld-unicode/lib/libwx_macud-2.5.?.r* lib
-# fi
-# touch lib/libwx*.r*
-
- make $MAKEJOBS
- make $MAKEJOBS -C contrib/src/animate
- make $MAKEJOBS -C contrib/src/gizmos
- make $MAKEJOBS -C contrib/src/stc
-
-SWIGIT=0
-if [ $reswig = yes ]; then
- SWIGIT=1
-fi
+ WXBLD_CONFIG="$WXBLD/wx-config"
+ if [ $universal = yes ]; then
+ export WXROOT
+ export BUILDPREFIX=$PREFIX
+ export INSTALLDIR=$INSTALLROOT$PREFIX
+ $WXDIR/distrib/scripts/mac/macbuild wxpython universal $CHARTYPE
+ else
+ make $MAKEJOBS
+ make $MAKEJOBS -C contrib/src/gizmos
+ make $MAKEJOBS -C contrib/src/stc
+ fi
+
+ SWIGIT=0
+ if [ $reswig = yes ]; then
+ SWIGIT=1
+ fi