ocaml/otherlibs/str/Makefile.Mac

59 lines
1.9 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, with #
# the special exception on linking described in file ../../LICENSE. #
# #
#########################################################################
# $Id$
# Makefile for the str library
# Compilation options
PPCC = mrc
PPCCOptions = -i {REGEXLIB},:::byterun:,:::config: -w 7 {cdbgflag}
CAMLC = :::boot:ocamlrun :::ocamlc -I :::stdlib:
REGEXLIB = :regex-0.12:
PPCCOBJS = strstubs.c.x {REGEXLIB}regex.c.x
all <EFBFBD> libstr.x str.cmi str.cma
libstr.x <EFBFBD> {PPCCOBJS}
ppclink {ldbgflag} -xm library -o libstr.x {PPCCOBJS}
str.cma <EFBFBD> str.cmo
{CAMLC} -a -o str.cma str.cmo
{REGEXLIB}regex.c.x <EFBFBD> {REGEXLIB}regex.c {REGEXLIB}regex.h
directory {REGEXLIB}; domake; directory ::
partialclean <EFBFBD>
delete -i <20>.cm[aio] || set status 0
clean <EFBFBD> partialclean
delete -i <20>.x || set status 0
directory {REGEXLIB}; domake distclean; directory ::
install <EFBFBD>
duplicate -y libstr.x str.cma str.cmi "{LIBDIR}"
.cmi <EFBFBD> .mli
{CAMLC} -c {COMPFLAGS} {default}.mli
.cmo <EFBFBD> .ml
{CAMLC} -c {COMPFLAGS} {default}.ml
depend <EFBFBD>
begin
MakeDepend -w -objext .x <20>.c
:::boot:ocamlrun :::tools:ocamldep <20>.mli <20>.ml
end | streamedit -e "/<2F>t/ replace // ' ' -c <20>" > Makefile.Mac.depend