ocaml/stdlib/Makefile.Mac

53 lines
1.3 KiB
Makefile
Raw Normal View History

RUNTIME = ::boot:ocamlrun
COMPILER = ::ocamlc
CAMLC = {RUNTIME} {COMPILER}
CAMLDEP = ::boot:ocamlrun ::tools:ocamldep
OBJS = pervasives.cmo list.cmo char.cmo string.cmo array.cmo sys.cmo <20>
hashtbl.cmo sort.cmo filename.cmo marshal.cmo obj.cmo <20>
lexing.cmo parsing.cmo <20>
set.cmo map.cmo stack.cmo queue.cmo stream.cmo <20>
printf.cmo format.cmo arg.cmo printexc.cmo gc.cmo <20>
digest.cmo random.cmo oo.cmo genlex.cmo callback.cmo weak.cmo <20>
lazy.cmo
all <EFBFBD> stdlib.cma std_exit.cmo camlheader
install <EFBFBD>
duplicate -y stdlib.cma std_exit.cmo <20>.cmi <20>.mli camlheader "{LIBDIR}"
stdlib.cma <EFBFBD> {OBJS}
{CAMLC} -a -o stdlib.cma {OBJS}
camlheader <EFBFBD>
(quote -n "{BINDIR}ocamlrun"; <20>
echo ' "{command}" {"Parameters"}; exit {status}') <20>
> camlheader
clean <EFBFBD><EFBFBD>
delete -i camlheader
pervasives.cmi <EFBFBD> pervasives.mli
{CAMLC} {COMPFLAGS} -nopervasives -c pervasives.mli
pervasives.cmo <EFBFBD> pervasives.ml
{CAMLC} {COMPFLAGS} -nopervasives -c pervasives.ml
# oo.cmi must be compiled with -nopervasives for applets
oo.cmi <EFBFBD> oo.mli
{CAMLC} {COMPFLAGS} -nopervasives -c oo.mli
.cmi <EFBFBD> .mli
{CAMLC} {COMPFLAGS} -c {default}.mli
.cmo <EFBFBD> .ml
{CAMLC} {COMPFLAGS} -c {default}.ml
{OBJS} std_exit.cmo <EFBFBD> pervasives.cmi
clean <EFBFBD><EFBFBD>
delete -i <20>.cm[aio] || set status 0
depend <EFBFBD>
{CAMLDEP} <20>.mli <20>.ml > Makefile.Mac.depend