blob: 72bb20ee4d61a60ea6736dc1418734b0adc0da59 (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
--- Makefile.inc.orig Wed Aug 4 17:40:24 1999
+++ Makefile.inc Wed Apr 5 10:05:09 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=
@@ -26,13 +26,13 @@ LD=gcc -rdynamic
DYNLD=ld -shared
# For NetBSD, use instead:
-# 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 instead:
# CPP=/usr/ccs/lib/cpp -P -Dunix -Umsdos
@@ -68,10 +68,10 @@ SHELL=/bin/sh
# LIBDIR contains bytecode files (such as mosmlcmp and library units)
BINDIR=${MOSMLHOME}/bin
-LIBDIR=${MOSMLHOME}/lib
-TOOLDIR=${MOSMLHOME}/tools
-# LIBDIR=${MOSMLHOME}/lib/moscow_ml
-# TOOLDIR=${MOSMLHOME}/libexec/moscow_ml
+# LIBDIR=${MOSMLHOME}/lib
+# TOOLDIR=${MOSMLHOME}/tools
+LIBDIR=${MOSMLHOME}/lib/moscow_ml
+TOOLDIR=${MOSMLHOME}/libexec/moscow_ml
CAMLRT=../runtime
|