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 #
|
|
|
|
|
# under the terms of the GNU Library General Public License. #
|
|
|
|
|
# #
|
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
|
|
# $Id$
|
|
|
|
|
|
1996-11-02 10:04:50 -08:00
|
|
|
|
# Makefile for the dynamic link library
|
|
|
|
|
|
2000-02-05 04:16:09 -08:00
|
|
|
|
CAMLC = :::boot:ocamlrun :::ocamlc
|
1996-11-02 10:04:50 -08:00
|
|
|
|
INCLUDES = -I :::utils: -I :::typing: -I :::bytecomp:
|
|
|
|
|
COMPFLAGS = -I :::stdlib: {INCLUDES}
|
|
|
|
|
|
|
|
|
|
OBJS = dynlink.cmo
|
1999-11-08 09:06:33 -08:00
|
|
|
|
COMPILEROBJS = misc.cmo config.cmo formatmsg.cmo tbl.cmo <20>
|
|
|
|
|
clflags.cmo ident.cmo path.cmo <20>
|
2000-03-13 12:34:47 -08:00
|
|
|
|
types.cmo btype.cmo predef.cmo runtimedef.cmo <20>
|
|
|
|
|
bytesections.cmo symtable.cmo opcodes.cmo
|
1996-11-02 10:04:50 -08:00
|
|
|
|
|
|
|
|
|
all <EFBFBD> dynlink.cma extract_crc
|
|
|
|
|
|
|
|
|
|
allopt <EFBFBD>
|
|
|
|
|
|
|
|
|
|
dynlink.cma <EFBFBD> {OBJS}
|
1997-05-19 08:42:21 -07:00
|
|
|
|
{CAMLC} {COMPFLAGS} -a -o dynlink.cma {COMPILEROBJS} {OBJS}
|
1996-11-02 10:04:50 -08:00
|
|
|
|
|
|
|
|
|
extract_crc <EFBFBD> dynlink.cma extract_crc.cmo
|
1997-05-19 08:42:21 -07:00
|
|
|
|
{CAMLC} {COMPFLAGS} -o extract_crc dynlink.cma extract_crc.cmo
|
1996-11-02 10:04:50 -08:00
|
|
|
|
|
|
|
|
|
install <EFBFBD>
|
1997-05-19 08:42:21 -07:00
|
|
|
|
duplicate -y dynlink.cmi dynlink.cma extract_crc "{LIBDIR}"
|
1996-11-02 10:04:50 -08:00
|
|
|
|
|
|
|
|
|
installopt <EFBFBD>
|
|
|
|
|
|
1997-02-16 05:36:42 -08:00
|
|
|
|
partialclean <EFBFBD>
|
1997-05-19 08:42:21 -07:00
|
|
|
|
delete -i extract_crc
|
|
|
|
|
delete -i <20>.cm[aio] || set status 0
|
1996-11-02 10:04:50 -08:00
|
|
|
|
|
1997-02-16 05:36:42 -08:00
|
|
|
|
clean <EFBFBD> partialclean
|
1996-11-02 10:04:50 -08:00
|
|
|
|
|
|
|
|
|
.cmi <EFBFBD> .mli
|
1997-05-19 08:42:21 -07:00
|
|
|
|
{CAMLC} -c {COMPFLAGS} {default}.mli
|
1996-11-02 10:04:50 -08:00
|
|
|
|
|
|
|
|
|
.cmo <EFBFBD> .ml
|
1997-05-19 08:42:21 -07:00
|
|
|
|
{CAMLC} -c {COMPFLAGS} {default}.ml
|
1996-11-02 10:04:50 -08:00
|
|
|
|
|
|
|
|
|
depend <EFBFBD>
|
1997-05-19 08:42:21 -07:00
|
|
|
|
:::boot:ocamlrun :::tools:ocamldep <20>.mli <20>.ml > Makefile.Mac.depend
|