2000-04-05 11:30:22 -07:00
|
|
|
|
#########################################################################
|
|
|
|
|
# #
|
|
|
|
|
# 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
|
2000-04-07 09:15:34 -07:00
|
|
|
|
COptions = -model far -i :::byterun:,:::config: -w 35 {cdbgflag}
|
2000-04-05 11:30:22 -07:00
|
|
|
|
|
|
|
|
|
PPCC = mrc
|
2000-04-07 09:15:34 -07:00
|
|
|
|
PPCCOptions = -i :::byterun:,:::config: -w 35 {cdbgflag}
|
2000-04-05 11:30:22 -07:00
|
|
|
|
|
|
|
|
|
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 <EFBFBD> libbigarray.x libbigarray.o bigarray.cma
|
|
|
|
|
|
|
|
|
|
libbigarray.x <EFBFBD> {PPCC_OBJS}
|
2000-04-07 09:15:34 -07:00
|
|
|
|
ppclink {ldbgflag} -xm library -o libbigarray.x {PPCC_OBJS}
|
2000-04-05 11:30:22 -07:00
|
|
|
|
|
|
|
|
|
libbigarray.o <EFBFBD> {C_OBJS}
|
|
|
|
|
lib -o libbigarray.o {C_OBJS}
|
|
|
|
|
|
|
|
|
|
bigarray.cma <EFBFBD> {CAML_OBJS}
|
|
|
|
|
{CAMLC} -a -linkall -o bigarray.cma {CAML_OBJS}
|
|
|
|
|
|
|
|
|
|
install <EFBFBD>
|
|
|
|
|
duplicate -y bigarray.cmi bigarray.mli libbigarray.x libbigarray.o <20>
|
|
|
|
|
bigarray.cma "{LIBDIR}"
|
|
|
|
|
|
|
|
|
|
partialclean <EFBFBD>
|
|
|
|
|
delete -y <20>.cm<63> || set status 0
|
|
|
|
|
|
|
|
|
|
clean <EFBFBD> partialclean
|
|
|
|
|
delete -i <20>.[ox] || set status 0
|
|
|
|
|
|
|
|
|
|
.cmi <EFBFBD> .mli
|
|
|
|
|
{CAMLC} -c {COMPFLAGS} {depdir}{default}.mli
|
|
|
|
|
|
|
|
|
|
.cmo <EFBFBD> .ml
|
|
|
|
|
{CAMLC} -c {COMPFLAGS} {depdir}{default}.ml
|
|
|
|
|
|
|
|
|
|
depend <EFBFBD>
|
|
|
|
|
begin
|
|
|
|
|
MakeDepend -w -objext .x <20>.c
|
|
|
|
|
MakeDepend -w <20>.c
|
|
|
|
|
:::boot:ocamlrun :::tools:ocamldep -I :::stdlib: -I ::unix: <20>.mli <20>.ml
|
|
|
|
|
end | streamedit -e "/<2F>t/ replace // ' ' -c <20>" > Makefile.Mac.depend
|