bleh
[synfig.git] / synfig-studio / trunk / macosxbuild.sh
diff --git a/synfig-studio/trunk/macosxbuild.sh b/synfig-studio/trunk/macosxbuild.sh
new file mode 100755 (executable)
index 0000000..d03be84
--- /dev/null
@@ -0,0 +1,29 @@
+#!/bin/sh
+
+#OPTIONS="--disable-optimization --enable-debug"
+
+OPTIONS=""
+#OPTIONS="$OPTIONS --enable-timelimit=120"
+OPTIONS="$OPTIONS --enable-optimization=2"
+#OPTIONS="$OPTIONS --enable-optimization=3 --enable-g5opt"
+#OPTIONS="$OPTIONS --disable-optimization"
+OPTIONS="$OPTIONS --disable-debug"
+
+BUILDDIR=macosxbuild
+
+[ -e configure ] || ./bootstrap || exit 1
+
+ [ -d $BUILDDIR ] && rm -fr $BUILDDIR
+
+mkdir $BUILDDIR
+
+cd $BUILDDIR
+
+../configure $OPTIONS || exit 1
+
+make -j2
+#make package
+
+#make installer
+
+