ocaml/stdlib/Makefile.Mac

73 lines
2.3 KiB
Makefile
Raw Normal View History

#########################################################################
# #
# Objective Caml #
# #
# Damien Doligez, projet Para, INRIA Rocquencourt #
# #
# Copyright 1999 Institut National de Recherche en Informatique et #
# en Automatique. All rights reserved. This file is distributed #
# under the terms of the GNU Library General Public License. #
# #
#########################################################################
# $Id$
RUNTIME = ::boot:ocamlrun
COMPILER = ::ocamlc
CAMLC = {RUNTIME} {COMPILER}
CAMLDEP = ::boot:ocamlrun ::tools:ocamldep
OBJS = pervasives.cmo array.cmo list.cmo char.cmo string.cmo sys.cmo <20>
hashtbl.cmo sort.cmo marshal.cmo obj.cmo <20>
lexing.cmo parsing.cmo <20>
set.cmo map.cmo stack.cmo queue.cmo stream.cmo <20>
buffer.cmo 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 filename.cmo int32.cmo int64.cmo nativeint.cmo
all <EFBFBD> stdlib.cma std_exit.cmo camlheader camlheader_ur
install <EFBFBD>
duplicate -y stdlib.cma std_exit.cmo <20>.cmi <20>.mli camlheader camlheader_ur <20>
"{LIBDIR}"
stdlib.cma <EFBFBD> {OBJS}
{CAMLC} -a -o stdlib.cma {OBJS}
camlheader <EFBFBD>
begin
quote -n "{BINDIR}ocamlrun"; echo ' "{command}" {"Parameters"}'
echo 'exit {status}'
echo
end > camlheader
camlheader_ur <EFBFBD>
echo -n ' ' > camlheader_ur
clean <EFBFBD><EFBFBD>
delete -i camlheader camlheader_ur
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