ocaml/stdlib/Makefile.Mac

46 lines
1.1 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 obj.cmo 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
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>
echo "`quote "{BINDIR}ocamlrun"`" <20>
'"{command}" {"Parameters"}; exit {status}' > 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
.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