aboutsummaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
Diffstat (limited to 'release')
-rwxr-xr-xrelease/build-compat-osx21
-rwxr-xr-xrelease/build-osx-6415
-rwxr-xr-xrelease/build-osx-m3216
3 files changed, 52 insertions, 0 deletions
diff --git a/release/build-compat-osx b/release/build-compat-osx
new file mode 100755
index 00000000..fd85bda4
--- /dev/null
+++ b/release/build-compat-osx
@@ -0,0 +1,21 @@
+#!/bin/sh
+# This script builds a version of TigerVNC on OS/X 10.5 or later which is
+# compatible with OS/X 10.4 or later. The OS/X 10.4 compatibility SDK (part
+# of XCode) must be installed.
+
+set -e
+
+SCRIPTDIR=`dirname $0`
+pushd $SCRIPTDIR/..
+CC=gcc-4.0
+CXX=g++-4.0
+CPP=cpp-4.0
+CFLAGS='-isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4 -O3 -m32'
+CXXFLAGS=$CFLAGS
+LDFLAGS=$CFLAGS
+CPPFLAGS=$CFLAGS
+export CFLAGS CXXFLAGS LDFLAGS CPPFLAGS CC CXX CPP
+autoreconf -fiv
+configure --x-libraries=/usr/X11R6/lib/
+make
+popd
diff --git a/release/build-osx-64 b/release/build-osx-64
new file mode 100755
index 00000000..417450f7
--- /dev/null
+++ b/release/build-osx-64
@@ -0,0 +1,15 @@
+#!/bin/sh
+# This script builds a 64-bit version of TigerVNC on OS/X 10.6 or later.
+# NASM 2.07 or later from MacPorts must be installed in /opt/local.
+
+set -e
+
+SCRIPTDIR=`dirname $0`
+pushd $SCRIPTDIR/..
+CFLAGS='-O3'
+CXXFLAGS=$CFLAGS
+export CFLAGS CXXFLAGS
+autoreconf -fiv
+configure --host=x86_64-apple-darwin10.0.0 NASM=/opt/local/bin/nasm
+make
+popd
diff --git a/release/build-osx-m32 b/release/build-osx-m32
new file mode 100755
index 00000000..f2feeaa3
--- /dev/null
+++ b/release/build-osx-m32
@@ -0,0 +1,16 @@
+#!/bin/sh
+# This script builds a 32-bit version of TigerVNC on OS/X 10.4 or later. The
+# resulting version of TigerVNC is not backward compatible.
+
+set -e
+
+SCRIPTDIR=`dirname $0`
+pushd $SCRIPTDIR/..
+CFLAGS='-O3 -m32'
+CXXFLAGS=$CFLAGS
+LDFLAGS=$CFLAGS
+export CFLAGS CXXFLAGS LDFLAGS
+autoreconf -fiv
+configure
+make
+popd