ADDED build/make-kit-macosx-i386 Index: build/make-kit-macosx-i386 ================================================================== --- /dev/null +++ build/make-kit-macosx-i386 @@ -0,0 +1,7 @@ +#! /bin/sh + +CC='gcc -arch i386' +CXX='g++ -arch i386' +export CC CXX + +./build/make-kit-powermacg5 "$@" --enable-aqua --host=i386-apple-darwin9 ADDED build/make-kit-macosx-ppc Index: build/make-kit-macosx-ppc ================================================================== --- /dev/null +++ build/make-kit-macosx-ppc @@ -0,0 +1,3 @@ +#! /bin/sh + +./build/make-kit-powermacg5 "$@" --enable-aqua ADDED build/make-kit-macosx-ppc64 Index: build/make-kit-macosx-ppc64 ================================================================== --- /dev/null +++ build/make-kit-macosx-ppc64 @@ -0,0 +1,7 @@ +#! /bin/sh + +CC='gcc -arch ppc64' +CXX='g++ -arch ppc64' +export CC CXX + +./build/make-kit-powermacg5 "$@" --enable-aqua ADDED build/make-kit-macosx-x86_64 Index: build/make-kit-macosx-x86_64 ================================================================== --- /dev/null +++ build/make-kit-macosx-x86_64 @@ -0,0 +1,7 @@ +#! /bin/sh + +CC='gcc -arch x86_64' +CXX='g++ -arch x86_64' +export CC CXX + +./build/make-kit-powermacg5 "$@" --enable-aqua --host=x86_64-apple-darwin9 ADDED build/make-kit-powermacg5 Index: build/make-kit-powermacg5 ================================================================== --- /dev/null +++ build/make-kit-powermacg5 @@ -0,0 +1,20 @@ +#! /bin/bash + +if [ "$(uname -s)" != 'Darwin' ]; then + buildid="$(( hostname; id -u; pwd ) | openssl sha1 | sed 's@^.*= *@@')" + workdir="/tmp/work-kitcreator-${buildid}" + rsync -aq --delete -e ssh . powermacg5.vpn.oc9.org:${workdir}/ + ( + newArgv=("$@"); declare -p newArgv + declare -p workdir + export + cat << \_EOF_ +cd "${workdir}" || exit 1 +./kitcreator "${newArgv[@]}" +exit "$?" +_EOF_ + ) | ssh powermacg5.vpn.oc9.org bash -s || exit "$?" + + ssh powermacg5.vpn.oc9.org "workdir='${workdir}'; "'cd "${workdir}" && tar -cf - tclkit-* libtclkit* 2>/dev/null' | tar -xf - +fi +