ocaml/otherlibs/bigarray/Makefile.Mac

61 lines
2.0 KiB
Makefile

#########################################################################
# #
# Objective Caml #
# #
# Damien Doligez, projet Moscova, INRIA Rocquencourt #
# #
# Copyright 2000 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$
C = sc
COptions = -model far -i :::byterun:,:::config: -w 35 {cdbgflag}
PPCC = mrc
PPCCOptions = -i :::byterun:,:::config: -w 35 {cdbgflag}
CAMLC = :::boot:ocamlrun :::ocamlc -I :::stdlib: -I ::unix:
C_OBJS = bigarray_stubs.c.o mmap_unix.c.o
PPCC_OBJS = bigarray_stubs.c.x mmap_unix.c.x
CAML_OBJS = bigarray.cmo
all Ä libbigarray.x libbigarray.o bigarray.cma
libbigarray.x Ä {PPCC_OBJS}
ppclink {ldbgflag} -xm library -o libbigarray.x {PPCC_OBJS}
libbigarray.o Ä {C_OBJS}
lib -o libbigarray.o {C_OBJS}
bigarray.cma Ä {CAML_OBJS}
{CAMLC} -a -linkall -o bigarray.cma {CAML_OBJS}
install Ä
duplicate -y bigarray.cmi bigarray.mli libbigarray.x libbigarray.o
bigarray.cma "{LIBDIR}"
partialclean Ä
delete -y Å.cmÅ || set status 0
clean Ä partialclean
delete -i Å.[ox] || set status 0
.cmi Ä .mli
{CAMLC} -c {COMPFLAGS} {depdir}{default}.mli
.cmo Ä .ml
{CAMLC} -c {COMPFLAGS} {depdir}{default}.ml
depend Ä
begin
MakeDepend -w -objext .x Å.c
MakeDepend -w Å.c
:::boot:ocamlrun :::tools:ocamldep -I :::stdlib: -I ::unix: Å.mli Å.ml
end | streamedit -e "/¶t/ replace // ' ' -c °" > Makefile.Mac.depend