summaryrefslogtreecommitdiff
path: root/lang/stalin/files
diff options
context:
space:
mode:
authorjtb <jtb>2000-12-10 11:07:31 +0000
committerjtb <jtb>2000-12-10 11:07:31 +0000
commit0551833cc506d7d7a26ed336f62e567c6f315936 (patch)
tree168663949fa3a43c174746e26abff19cd5ed5bef /lang/stalin/files
parent9c66038b3eb39d74d29db963f0d4b1d2b5d84909 (diff)
downloadpkgsrc-0551833cc506d7d7a26ed336f62e567c6f315936.tar.gz
Initial import of new "stalin" package:
Aggressively optimizing Scheme compiler
Diffstat (limited to 'lang/stalin/files')
-rw-r--r--lang/stalin/files/Makefile27
-rw-r--r--lang/stalin/files/md53
-rw-r--r--lang/stalin/files/patch-sum14
-rwxr-xr-xlang/stalin/files/stalin7
4 files changed, 51 insertions, 0 deletions
diff --git a/lang/stalin/files/Makefile b/lang/stalin/files/Makefile
new file mode 100644
index 00000000000..17eefd3080b
--- /dev/null
+++ b/lang/stalin/files/Makefile
@@ -0,0 +1,27 @@
+CFLAGS = -O2 -fomit-frame-pointer -freg-struct-return
+INCLUDES= -I${GC_PREFIX}/include -I${X11BASE}/include -I${MESA_PREFIX}/include
+LDFLAGS = -L${GC_PREFIX}/lib -L${X11BASE}/lib -L${MESA_PREFIX}/lib
+LIBS = -lgc -lm
+
+all-32: stalin-32 libstalin.a
+
+all-alpha: stalin-alpha libstalin.a
+
+OPTIONS = -I ./include -On -du -dI -t -c -db \
+ -clone-size-limit 0 -split-even-if-no-widening \
+ -do-not-align-strings \
+ -treat-all-symbols-as-external \
+ -do-not-index-constant-structure-types-by-expression \
+ -do-not-index-allocated-structure-types-by-expression
+
+stalin-32: stalin-32.o
+ $(CC) -O -o stalin stalin-32.o $(LDFLAGS) $(LIBS)
+
+LIBOBJS = xlib-c.o gl-c.o
+
+libstalin.a: include/xlib-c.o include/gl-c.o
+ $(AR) cru $@ $(LIBOBJS)
+ $(RANLIB) $@
+
+.c.o:
+ $(CC) $(CFLAGS) $(INCLUDES) -c $<
diff --git a/lang/stalin/files/md5 b/lang/stalin/files/md5
new file mode 100644
index 00000000000..4fdebd340b7
--- /dev/null
+++ b/lang/stalin/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/12/10 11:07:33 jtb Exp $
+
+MD5 (stalin.tar.Z) = d821a1abea9849da5b8a845efccfee46
diff --git a/lang/stalin/files/patch-sum b/lang/stalin/files/patch-sum
new file mode 100644
index 00000000000..055127b11d0
--- /dev/null
+++ b/lang/stalin/files/patch-sum
@@ -0,0 +1,14 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/12/10 11:07:34 jtb Exp $
+
+MD5 (patch-aa) = a32b936cbdf5d43b488c02a94f03adbb
+MD5 (patch-ab) = 91dd8e6d4cdd7981b94ea08b4856a673
+MD5 (patch-ac) = a9c31188a607592daaf4070e0a5a3d3d
+MD5 (patch-ad) = da3af68b63d7c2a85e47f8d8cb8e9969
+MD5 (patch-ae) = 07a16223fb22c3647db3cbc98c9538c3
+MD5 (patch-af) = 711362fb6f2adf9f7267488e7b0a5e30
+MD5 (patch-ag) = 1af76f94b19487b30a0d847a37ee88b3
+MD5 (patch-ah) = 7131bab44493cdb49b022c5f82f9dce7
+MD5 (patch-ai) = c8e7597b7dc94cd19d38445f43e3db6b
+MD5 (patch-aj) = d2aa8699c2254197b351db892555f536
+MD5 (patch-ak) = 445193121e454d4aa35386fc62eb05c9
+MD5 (patch-al) = 788a9753d294900772ecc3b968e00636
diff --git a/lang/stalin/files/stalin b/lang/stalin/files/stalin
new file mode 100755
index 00000000000..90cf7a50090
--- /dev/null
+++ b/lang/stalin/files/stalin
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+STALIN_INCLUDES ="-I %%PREFIX%%/lib/stalin -I %%PREFIX%%/include -I %%GC_PREFIX%%/include -I %%GC_PREFIX%%/lib -I%%MESA_PREFIX%%"
+
+STALIN_OPTIONS="-Ob -Om -On -Or -Ot -d -du -dI -k -copt -O2 -copt -fomit-frame-pointer -copt -freg-struct-return"
+
+exec %%PREFIX%%/libexec/stalin/stalin $STALIN_INCLUDES $STALIN_OPTIONS $@