1996-11-02 10:04:09 -08:00
|
|
|
|
RUNTIME = ::boot:ocamlrun
|
|
|
|
|
COMPILER = ::ocamlc
|
|
|
|
|
CAMLC = {RUNTIME} {COMPILER}
|
|
|
|
|
CAMLDEP = ::boot:ocamlrun ::tools:ocamldep
|
|
|
|
|
|
1996-11-02 10:09:24 -08:00
|
|
|
|
OBJS = pervasives.cmo list.cmo char.cmo string.cmo array.cmo sys.cmo <20>
|
1996-11-02 10:04:09 -08:00
|
|
|
|
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>
|
1997-10-14 06:17:48 -07:00
|
|
|
|
digest.cmo random.cmo oo.cmo genlex.cmo weak.cmo marshal.cmo lazy.cmo
|
1996-11-02 10:04:09 -08:00
|
|
|
|
|
|
|
|
|
all <EFBFBD> stdlib.cma std_exit.cmo camlheader
|
|
|
|
|
|
|
|
|
|
install <EFBFBD>
|
1997-05-19 08:42:21 -07:00
|
|
|
|
duplicate -y stdlib.cma std_exit.cmo <20>.cmi <20>.mli camlheader "{LIBDIR}"
|
1996-11-02 10:04:09 -08:00
|
|
|
|
|
|
|
|
|
stdlib.cma <EFBFBD> {OBJS}
|
1997-05-19 08:42:21 -07:00
|
|
|
|
{CAMLC} -a -o stdlib.cma {OBJS}
|
1996-11-02 10:04:09 -08:00
|
|
|
|
|
|
|
|
|
camlheader <EFBFBD>
|
1997-05-19 08:42:21 -07:00
|
|
|
|
echo "`quote "{BINDIR}ocamlrun"`" <20>
|
|
|
|
|
'"{command}" {"Parameters"}; exit {status}' > camlheader
|
1996-11-02 10:04:09 -08:00
|
|
|
|
|
|
|
|
|
clean <EFBFBD><EFBFBD>
|
1997-05-19 08:42:21 -07:00
|
|
|
|
delete -i camlheader
|
1996-11-02 10:04:09 -08:00
|
|
|
|
|
|
|
|
|
pervasives.cmi <EFBFBD> pervasives.mli
|
1997-05-19 08:42:21 -07:00
|
|
|
|
{CAMLC} {COMPFLAGS} -nopervasives -c pervasives.mli
|
1996-11-02 10:04:09 -08:00
|
|
|
|
|
|
|
|
|
pervasives.cmo <EFBFBD> pervasives.ml
|
1997-05-19 08:42:21 -07:00
|
|
|
|
{CAMLC} {COMPFLAGS} -nopervasives -c pervasives.ml
|
1996-11-02 10:04:09 -08:00
|
|
|
|
|
|
|
|
|
.cmi <EFBFBD> .mli
|
1997-05-19 08:42:21 -07:00
|
|
|
|
{CAMLC} {COMPFLAGS} -c {default}.mli
|
1996-11-02 10:04:09 -08:00
|
|
|
|
|
|
|
|
|
.cmo <EFBFBD> .ml
|
1997-05-19 08:42:21 -07:00
|
|
|
|
{CAMLC} {COMPFLAGS} -c {default}.ml
|
1996-11-02 10:04:09 -08:00
|
|
|
|
|
|
|
|
|
{OBJS} std_exit.cmo <EFBFBD> pervasives.cmi
|
|
|
|
|
|
|
|
|
|
clean <EFBFBD><EFBFBD>
|
1997-05-19 08:42:21 -07:00
|
|
|
|
delete -i <20>.cm[aio] || set status 0
|
1996-11-02 10:04:09 -08:00
|
|
|
|
|
|
|
|
|
depend <EFBFBD>
|
1997-05-19 08:42:21 -07:00
|
|
|
|
{CAMLDEP} <20>.mli <20>.ml > Makefile.Mac.depend
|