diff options
Diffstat (limited to 'tools/Makefile.Mac')
-rw-r--r-- | tools/Makefile.Mac | 18 |
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 |