summaryrefslogtreecommitdiff
path: root/tools/Makefile.Mac
diff options
context:
space:
mode:
authorDamien Doligez <damien.doligez-inria.fr>1999-11-08 19:03:57 +0000
committerDamien Doligez <damien.doligez-inria.fr>1999-11-08 19:03:57 +0000
commit4a3e2f044b66c2e221f2b00b24d31b08a902d9d5 (patch)
treeb371837f70357cf603c8d8334cffa57112a4b683 /tools/Makefile.Mac
parent511c2f58c46c7455f130a1ccce7f2569c06b85e0 (diff)
downloadocaml-4a3e2f044b66c2e221f2b00b24d31b08a902d9d5.tar.gz
Macintosh
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2497 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'tools/Makefile.Mac')
-rw-r--r--tools/Makefile.Mac18
1 files changed, 14 insertions, 4 deletions
diff --git a/tools/Makefile.Mac b/tools/Makefile.Mac
index 98a635cd26..8f87eb8811 100644
--- a/tools/Makefile.Mac
+++ b/tools/Makefile.Mac
@@ -24,7 +24,7 @@ clean ÄÄ
install ÄÄ
duplicate -y ocamldep "{BINDIR}ocamldep"
-# The profiler (not available on the Mac for the moment)
+# The profiler (not available on MacOS for the moment)
#
#CSLPROF = ocamlprof.cmo
#CSLPROF_IMPORTS = misc.cmo formatmsg.cmo config.cmo clflags.cmo terminfo.cmo ¶
@@ -52,12 +52,12 @@ install ÄÄ
DUMPOBJ = opnames.cmo dumpobj.cmo
-DumpCamlObj Ä {DUMPOBJ}
- {CAMLC} {LINKFLAGS} -o DumpCamlObj misc.cmo tbl.cmo config.cmo ident.cmo ¶
+OCamlDumpObj Ä {DUMPOBJ}
+ {CAMLC} {LINKFLAGS} -o OCamlDumpObj misc.cmo tbl.cmo config.cmo ident.cmo ¶
opcodes.cmo {DUMPOBJ}
clean ÄÄ
- delete -i DumpCamlObj
+ delete -i OCamlDumpObj
opnames.ml Ä ::byterun:instruct.h
streamedit -e '/¶/¶*/ delete' ¶
@@ -101,3 +101,13 @@ clean ÄÄ
depend Ä beforedepend
{CAMLRUN} :ocamldep {INCLUDES} Å.mli Å.ml > Makefile.Mac.depend
+
+# Scan object files for required primitives
+
+PRIMREQ=primreq.cmo
+
+primreq Ä {PRIMREQ}
+ {CAMLC} {LINKFLAGS} -o primreq config.cmo {PRIMREQ}
+
+clean ÄÄ
+ delete -i primreq