70d66fb13d
This is file README for Moscow ML 2.00 for Linux/Unix (June 2000) - The full SML Modules language (structures, signatures, and functors) is now supported, thanks to Claudio Russo. Also, several extensions to the SML Modules language are provided: - higher-order functors: functors may be defined within structures and functors - first-class modules: structures and functors may be packed and then handled as Core language values, which may then be unpacked as structures or functors again - recursive modules: signatures and structures may be recursively defined - Value polymorphism has become friendlier: non-generalizable free type variables are left free, and become instantiated (once only) when the bound variable is used - Added facilities for creating and communicating with subprocesses (structure Unix and Signal from SML Basis Library). - Added facilities for efficient functional generation of HTML code (structure Msp); also supports the writing of ML Server Page scripts. - Added facilities setting and accessing `cookies' in CGI scripts (structure Mosmlcookie), thanks to Hans Molin, Uppsala, Sweden. - The Gdimage structure now produces PNG images (using Thomas Boutell's gd library).
68 lines
1.7 KiB
Text
68 lines
1.7 KiB
Text
$NetBSD: patch-aa,v 1.5 2000/08/23 21:57:58 tron Exp $
|
|
|
|
--- Makefile.inc.orig Thu Jun 29 02:28:14 2000
|
|
+++ Makefile.inc Wed Aug 23 23:39:29 2000
|
|
@@ -2,20 +2,20 @@
|
|
|
|
# Where to install stuff
|
|
|
|
-MOSMLHOME=${HOME}/mosml
|
|
+MOSMLHOME=${PREFIX}
|
|
|
|
# Various utility programs
|
|
INSTALL_PROGRAM=cp
|
|
INSTALL_SCRIPT=cp
|
|
INSTALL_DATA=cp
|
|
-PERL=perl
|
|
+PERL=${LOCALBASE}/bin/perl
|
|
|
|
# To compile the runtime system camlrunm with support for
|
|
# dynamically loadable libraries (DDLs), uncomment these:
|
|
|
|
ADDPRIMS=dynlib.c
|
|
ADDOBJS=dynlib.o
|
|
-ADDRUNLIBS=-ldl
|
|
+# ADDRUNLIBS=-ldl
|
|
ADDRUNCFLAGS=
|
|
ADDDYNLIBCFLAGS=
|
|
|
|
@@ -45,13 +45,13 @@
|
|
|
|
# For NetBSD, use:
|
|
# ------------------------
|
|
-# CPP=/usr/bin/cpp -P -traditional -Dunix -Umsdos
|
|
-# STRIP=/usr/bin/strip
|
|
-# ADDRUNCFLAGS=-fPIC
|
|
-# ADDDYNLIBCFLAGS=-fPIC
|
|
-# INSTALL_PROGRAM=${BSD_INSTALL_PROGRAM}
|
|
-# INSTALL_SCRIPT=${BSD_INSTALL_SCRIPT}
|
|
-# INSTALL_DATA=${BSD_INSTALL_DATA}
|
|
+CPP=/usr/bin/cpp -P -traditional -Dunix -Umsdos
|
|
+STRIP=/usr/bin/strip
|
|
+ADDRUNCFLAGS=-fPIC
|
|
+ADDDYNLIBCFLAGS=-fPIC
|
|
+INSTALL_PROGRAM=${BSD_INSTALL_PROGRAM}
|
|
+INSTALL_SCRIPT=${BSD_INSTALL_SCRIPT}
|
|
+INSTALL_DATA=${BSD_INSTALL_DATA}
|
|
|
|
# For Solaris 2 (not SunOS 4), use:
|
|
# ---------------------------------
|
|
@@ -114,12 +114,12 @@
|
|
# DOCDIR contains documentation
|
|
|
|
BINDIR=${MOSMLHOME}/bin
|
|
-LIBDIR=${MOSMLHOME}/lib
|
|
-INCDIR=${MOSMLHOME}/include
|
|
-DOCDIR=${MOSMLHOME}/doc
|
|
-TOOLDIR=${MOSMLHOME}/tools
|
|
-# LIBDIR=${MOSMLHOME}/lib/moscow_ml
|
|
-# TOOLDIR=${MOSMLHOME}/libexec/moscow_ml
|
|
+#LIBDIR=${MOSMLHOME}/lib
|
|
+INCDIR=${MOSMLHOME}/include/moscow_ml
|
|
+DOCDIR=${MOSMLHOME}/share/doc/moscow_ml
|
|
+#TOOLDIR=${MOSMLHOME}/tools
|
|
+LIBDIR=${MOSMLHOME}/lib/moscow_ml
|
|
+TOOLDIR=${MOSMLHOME}/libexec/moscow_ml
|
|
|
|
CAMLRT=../runtime
|
|
|