######################################################################### # # # 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$ # Makefile for the dynamic link library CAMLC = :::boot:ocamlrun :::ocamlc INCLUDES = -I :::utils: -I :::typing: -I :::bytecomp: COMPFLAGS = -I :::stdlib: {INCLUDES} OBJS = dynlink.cmo COMPILEROBJS = misc.cmo config.cmo tbl.cmo ¶ clflags.cmo ident.cmo path.cmo ¶ types.cmo btype.cmo predef.cmo runtimedef.cmo ¶ bytesections.cmo dll.cmo symtable.cmo opcodes.cmo meta.cmo all Ä dynlink.cma extract_crc allopt Ä dynlink.cma Ä {OBJS} {CAMLC} {COMPFLAGS} -a -o dynlink.cma {COMPILEROBJS} {OBJS} extract_crc Ä dynlink.cma extract_crc.cmo {CAMLC} {COMPFLAGS} -o extract_crc dynlink.cma extract_crc.cmo install Ä duplicate -y dynlink.cmi dynlink.cma extract_crc "{LIBDIR}" installopt Ä partialclean Ä delete -i extract_crc delete -i Å.cm[aio] || set status 0 clean Ä partialclean .cmi Ä .mli {CAMLC} -c {COMPFLAGS} {default}.mli .cmo Ä .ml {CAMLC} -c {COMPFLAGS} {default}.ml depend Ä :::boot:ocamlrun :::tools:ocamldep Å.mli Å.ml > Makefile.Mac.depend