3 # TODO: Get these from somewhere...
7 BRANCH
="$MAJOR_VERSION.$MINOR_VERSION"
8 RELEASE
="$BRANCH.$REVISION"
10 if [ "$WXROOT" = "" ]; then
11 scriptDir
="$(cd $(dirname $0);pwd)"
12 WXROOT
=$scriptDir/..
/..
/..
15 export INSTALLDIR
=/Library
/Frameworks
/wx.Framework
/Versions
/$BRANCH
20 $scriptDir/macbuild universal unicode wxpython
25 ln -s lib
/libwx_macud
-$RELEASE.dylib .
/wx
29 ln -s wx
-$BRANCH/wx wx
32 echo "#ifndef __WX_FRAMEWORK_HEADER__" 1>> wx.h
33 echo "#define __WX_FRAMEWORK_HEADER__" 1>> wx.h
37 for header
in `ls wx/*.h`
39 echo "#include <$header>" 1>> wx.h
44 echo "#endif // __WX_FRAMEWORK_HEADER__" 1>> wx.h
48 # keep the gl library there since we link against it.
49 #rm lib/libwx_macud-$MAJOR_VERSION.$MINOR_VERSION.*
52 #cp bin/wx-config Resources/wx-config
53 #cp bin/wxrc Resources/wxrc
56 #mv share Resources/share