summaryrefslogtreecommitdiff
path: root/com/allegro/build-xlib
diff options
context:
space:
mode:
Diffstat (limited to 'com/allegro/build-xlib')
-rwxr-xr-xcom/allegro/build-xlib14
1 files changed, 14 insertions, 0 deletions
diff --git a/com/allegro/build-xlib b/com/allegro/build-xlib
new file mode 100755
index 0000000..a805308
--- /dev/null
+++ b/com/allegro/build-xlib
@@ -0,0 +1,14 @@
+#!/bin/csh
+#
+# build-xlib -- recompile the xlib stuff
+#
+# note that allegro's loader will look in its lib directory automagically
+# for the clx library
+cd $Y2
+setenv LIBRARYBIN $Y2/progs/lib/X11/$ALLEGRODIR
+rm $LIBRARYBIN/xlib*.sbin
+bin/allegro-haskell <<EOF
+:(lisp:load "clx")
+:(setf *code-quality* 3)
+:compile \$HASKELL_LIBRARY/X11/xlib
+EOF