1999-11-17 10:59:06 -08:00
|
|
|
|
#########################################################################
|
|
|
|
|
# #
|
|
|
|
|
# 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 #
|
2001-12-07 05:41:02 -08:00
|
|
|
|
# under the terms of the GNU Library General Public License, with #
|
|
|
|
|
# the special exception on linking described in file ../LICENSE. #
|
1999-11-17 10:59:06 -08:00
|
|
|
|
# #
|
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
|
|
# $Id$
|
|
|
|
|
|
1996-11-02 10:04:09 -08:00
|
|
|
|
RUNTIME = ::boot:ocamlrun
|
|
|
|
|
COMPILER = ::ocamlc
|
|
|
|
|
CAMLC = {RUNTIME} {COMPILER}
|
|
|
|
|
CAMLDEP = ::boot:ocamlrun ::tools:ocamldep
|
|
|
|
|
|
2000-04-17 13:01:40 -07:00
|
|
|
|
OBJS = pervasives.cmo array.cmo list.cmo char.cmo string.cmo sys.cmo <20>
|
1999-11-29 11:04:04 -08:00
|
|
|
|
hashtbl.cmo sort.cmo marshal.cmo obj.cmo <20>
|
1997-10-28 05:17:11 -08:00
|
|
|
|
lexing.cmo parsing.cmo <20>
|
1996-11-02 10:04:09 -08:00
|
|
|
|
set.cmo map.cmo stack.cmo queue.cmo stream.cmo <20>
|
1999-02-25 02:26:38 -08:00
|
|
|
|
buffer.cmo printf.cmo format.cmo arg.cmo printexc.cmo gc.cmo <20>
|
1997-10-31 04:59:29 -08:00
|
|
|
|
digest.cmo random.cmo oo.cmo genlex.cmo callback.cmo weak.cmo <20>
|
2000-02-11 07:09:27 -08:00
|
|
|
|
lazy.cmo filename.cmo int32.cmo int64.cmo nativeint.cmo
|
1996-11-02 10:04:09 -08:00
|
|
|
|
|
1998-07-04 09:51:51 -07:00
|
|
|
|
all <EFBFBD> stdlib.cma std_exit.cmo camlheader camlheader_ur
|
1996-11-02 10:04:09 -08:00
|
|
|
|
|
|
|
|
|
install <EFBFBD>
|
1998-07-04 09:51:51 -07:00
|
|
|
|
duplicate -y stdlib.cma std_exit.cmo <20>.cmi <20>.mli camlheader camlheader_ur <20>
|
1999-11-29 11:04:04 -08:00
|
|
|
|
"{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>
|
1999-11-29 11:04:04 -08:00
|
|
|
|
begin
|
2001-03-06 08:55:27 -08:00
|
|
|
|
quote -n "ocamlrun"; echo ' "{command}" {"Parameters"}'
|
1999-11-29 11:04:04 -08:00
|
|
|
|
echo 'exit {status}'
|
|
|
|
|
echo
|
|
|
|
|
end > camlheader
|
1996-11-02 10:04:09 -08:00
|
|
|
|
|
1998-07-04 09:51:51 -07:00
|
|
|
|
camlheader_ur <EFBFBD>
|
1999-11-29 11:04:04 -08:00
|
|
|
|
echo -n ' ' > camlheader_ur
|
1998-07-04 09:51:51 -07:00
|
|
|
|
|
1996-11-02 10:04:09 -08:00
|
|
|
|
clean <EFBFBD><EFBFBD>
|
1998-07-04 09:51:51 -07:00
|
|
|
|
delete -i camlheader camlheader_ur
|
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
|
|
|
|
|
1997-12-10 09:32:59 -08:00
|
|
|
|
# oo.cmi must be compiled with -nopervasives for applets
|
|
|
|
|
oo.cmi <EFBFBD> oo.mli
|
1999-11-29 11:04:04 -08:00
|
|
|
|
{CAMLC} {COMPFLAGS} -nopervasives -c oo.mli
|
1997-12-10 09:32:59 -08:00
|
|
|
|
|
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
|