ocaml/otherlibs/dynlink/Makefile.Mac

56 lines
1.8 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$
# 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 formatmsg.cmo tbl.cmo <20>
clflags.cmo ident.cmo path.cmo <20>
types.cmo btype.cmo predef.cmo runtimedef.cmo <20>
bytesections.cmo symtable.cmo opcodes.cmo
all <EFBFBD> dynlink.cma extract_crc
allopt <EFBFBD>
dynlink.cma <EFBFBD> {OBJS}
{CAMLC} {COMPFLAGS} -a -o dynlink.cma {COMPILEROBJS} {OBJS}
extract_crc <EFBFBD> dynlink.cma extract_crc.cmo
{CAMLC} {COMPFLAGS} -o extract_crc dynlink.cma extract_crc.cmo
install <EFBFBD>
duplicate -y dynlink.cmi dynlink.cma extract_crc "{LIBDIR}"
installopt <EFBFBD>
partialclean <EFBFBD>
delete -i extract_crc
delete -i <20>.cm[aio] || set status 0
clean <EFBFBD> partialclean
.cmi <EFBFBD> .mli
{CAMLC} -c {COMPFLAGS} {default}.mli
.cmo <EFBFBD> .ml
{CAMLC} -c {COMPFLAGS} {default}.ml
depend <EFBFBD>
:::boot:ocamlrun :::tools:ocamldep <20>.mli <20>.ml > Makefile.Mac.depend