ocaml/otherlibs/str/Makefile.Mac

52 lines
1.2 KiB
Makefile
Raw Normal View History

# Makefile for the str library
# Compilation options
C = sc
COptions = -model far -i {REGEXLIB},:::byterun: -w 7
PPCC = mrc
PPCCOptions = -i {REGEXLIB},:::byterun: -w 7
CAMLC = :::boot:ocamlrun :::boot:ocamlc -I :::stdlib:
REGEXLIB = :regex-0.12:
COBJS = strstubs.c.o {REGEXLIB}regex.c.o
PPCCOBJS = strstubs.c.x {REGEXLIB}regex.c.x
all <EFBFBD> libstr.o libstr.x str.cmi str.cma
libstr.o <EFBFBD> {COBJS}
lib -o libstr.o {COBJS}
libstr.x <EFBFBD> {PPCCOBJS}
ppclink -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.o
echo -n
{REGEXLIB}regex.c.o <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>.[ox] || set status 0
directory {REGEXLIB}; domake distclean; directory ::
install <EFBFBD>
duplicate -y libstr.o 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>
MakeDepend <20>.c > Makefile.Mac.depend
:::boot:ocamlrun :::tools:ocamldep <20>.mli <20>.ml >> Makefile.Mac.depend