Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/config/modulesets/patches/squeak-autogen.patch
blob: ff9274dc3c405a167b410f18351c56b266901532 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--- /dev/null	2010-09-02 18:58:30.359785873 +0200
+++ autogen.sh	2010-09-02 22:07:35.577316348 +0200
@@ -0,0 +1,25 @@
+#!/bin/sh
+EXCLUDE="gl FileCopyPlugin SqueakFFIPrims B3DAcceleratorPlugin PseudoTTYPlugin UnixOSProcessPlugin XDisplayControlPlugin"
+
+test -d bld || mkdir bld
+
+OPTIONS=""
+for p in $EXCLUDE ; do
+	OPTIONS="$OPTIONS --without-${p}"
+done
+
+(cd bld && ../unix/cmake/configure $OPTIONS "$@")
+
+cat > Makefile <<__EOF__
+default:
+	make -C bld
+
+install:
+	make -C bld install
+
+check:
+	@echo SKIPPED: No tests defined for Squeak VM
+
+clean:
+	rm -rf bld Makefile
+__EOF__