ocaml/stdlib/Makefile.Mac

75 lines
2.4 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, with #
# the special exception on linking described in file ../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 camlInternal.cmo <20>
genlex.cmo callback.cmo weak.cmo <20>
lazy.cmo filename.cmo int32.cmo int64.cmo nativeint.cmo complex.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 "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
# camlinternalOO.cmi must be compiled with -nopervasives for applets
camlinternalOO.cmi <EFBFBD> camlinternalOO.mli
{CAMLC} {COMPFLAGS} -nopervasives -c camlinternalOO.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