blob: da6dae5baa72ba6ee6273b51a96012876cec98d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# 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 Ä libstr.o libstr.x str.cmi str.cma
libstr.o Ä {COBJS}
lib -o libstr.o {COBJS}
libstr.x Ä {PPCCOBJS}
ppclink -xm library -o libstr.x {PPCCOBJS}
str.cma Ä str.cmo
{CAMLC} -a -o str.cma str.cmo
{REGEXLIB}regex.c.x Ä {REGEXLIB}regex.c.o
echo -n
{REGEXLIB}regex.c.o Ä {REGEXLIB}regex.c {REGEXLIB}regex.h
directory {REGEXLIB}; domake; directory ::
partialclean Ä
delete -i Å.cm[aio] || set status 0
clean Ä partialclean
delete -i Å.[ox] || set status 0
directory {REGEXLIB}; domake distclean; directory ::
install Ä
duplicate -y libstr.o libstr.x str.cma str.cmi "{LIBDIR}"
.cmi Ä .mli
{CAMLC} -c {COMPFLAGS} {default}.mli
.cmo Ä .ml
{CAMLC} -c {COMPFLAGS} {default}.ml
depend Ä
MakeDepend Å.c > Makefile.Mac.depend
:::boot:ocamlrun :::tools:ocamldep Å.mli Å.ml >> Makefile.Mac.depend
|