~ubuntu-branches/ubuntu/hardy/ocaml-doc/hardy

« back to all changes in this revision

Viewing changes to examples/grep/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Samuel Mimram
  • Date: 2007-09-08 01:49:22 UTC
  • mfrom: (0.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20070908014922-lvihyehz0ndq7suu
Tags: 3.10-1
* New upstream release.
* Removed camlp4 documentation since it is not up-to-date.
* Updated to standards version 3.7.2, no changes needed.
* Updated my email address.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Makefile generated by imake - do not edit!
2
 
# $XConsortium: imake.c,v 1.91 95/01/12 16:15:47 kaleb Exp $
3
 
 
4
 
LIBDIR=/usr/local/lib/ocaml/
5
 
CAMLC=ocamlc
6
 
CAMLCOPT=ocamlopt
7
 
COMPFLAGS=-g
8
 
COMPFLAGSOPT=
9
 
CAMLLIBR=ocamllibr
10
 
CAMLLEX=ocamllex
11
 
CAMLYACC=ocamlyacc
12
 
CAMLDEP=ocamldep -pp camlp4o
13
 
CPP=/lib/cpp -P
14
 
RM=rm -f
15
 
CP=cp -p -f
16
 
TOP=../.
17
 
CONFIG=$(TOP)/config
18
 
 
19
 
all::
20
 
allopt:opt
21
 
 
22
 
# (begin Imakefile)
23
 
 
24
 
COMPFLAGS=-g -pp camlp4o
25
 
 
26
 
grep.OBJS=expr.cmo auto.cmo ensent.cmo determ.cmo grep.cmo
27
 
grep.FILES=$(grep.OBJS:.cmo=.ml)
28
 
 
29
 
all::grep
30
 
 
31
 
depend::
32
 
        $(CAMLDEP) $(grep.FILES) >> Makefile
33
 
 
34
 
clean::
35
 
        $(RM) grep
36
 
 
37
 
grep: expr.cmo auto.cmo ensent.cmo determ.cmo grep.cmo
38
 
        $(CAMLC) -pp camlp4o $(LINKFLAGS)  expr.cmo auto.cmo ensent.cmo determ.cmo grep.cmo -o grep
39
 
 
40
 
COMPFLAGSOPT=-pp camlp4o
41
 
 
42
 
fastgrep.BINOBJS=expr.cmx auto.cmx ensent.cmx determ.cmx grep.cmx
43
 
fastgrep.FILES=$(fastgrep.BINOBJS:.cmx=.ml)
44
 
 
45
 
opt::fastgrep.opt
46
 
 
47
 
depend::
48
 
        $(CAMLDEP) $(fastgrep.FILES) >> Makefile
49
 
 
50
 
clean::
51
 
        $(RM) fastgrep fastgrep.opt
52
 
 
53
 
fastgrep.opt: expr.cmx auto.cmx ensent.cmx determ.cmx grep.cmx
54
 
        $(CAMLCOPT) -pp camlp4o $(LINKFLAGSOPT)  expr.cmx auto.cmx ensent.cmx determ.cmx grep.cmx -o fastgrep.opt
55
 
        $(CP) fastgrep.opt fastgrep
56
 
 
57
 
cfastgrep.OBJS=expr.cmo auto.cmo ensent.cmo determ.cmo fastgrep.cmo fastrec.o
58
 
cfastgrep.FILES=$(cfastgrep.OBJS:.cmo=.ml)
59
 
 
60
 
all::cfastgrep
61
 
 
62
 
depend::
63
 
        $(CAMLDEP) $(cfastgrep.FILES) >> Makefile
64
 
 
65
 
clean::
66
 
        $(RM) cfastgrep
67
 
 
68
 
cfastgrep: expr.cmo auto.cmo ensent.cmo determ.cmo fastgrep.cmo fastrec.o
69
 
        $(CAMLC) $(LINKFLAGS) -custom  expr.cmo auto.cmo ensent.cmo determ.cmo fastgrep.cmo fastrec.o -o cfastgrep
70
 
 
71
 
fastrec.o: fastrec.c
72
 
        $(CAMLC) -c -I $(LIBDIR)/caml fastrec.c
73
 
 
74
 
clean::
75
 
        rm -f fastrec.o
76
 
 
77
 
# (end Imakefile)
78
 
 
79
 
clean::
80
 
        $(RM) *.cmi *.cmix *.cmo *.cmx *.o a.out* *~ *.opt #*#
81
 
 
82
 
depend::
83
 
 
84
 
beforedepend::
85
 
 
86
 
mfile:
87
 
        imake -I$(CONFIG) -DTOPDIR=$(TOP)
88
 
 
89
 
makefiles:: beforedepend mfile depend
90
 
 
91
 
.SUFFIXES: .mli .cmi .ml .cmo .cmx
92
 
 
93
 
.mli.cmi:
94
 
        $(CAMLC) $(COMPFLAGS) -c $<
95
 
 
96
 
.ml.cmo:
97
 
        $(CAMLC) $(COMPFLAGS) -c $<
98
 
 
99
 
.ml.cmx:
100
 
        $(CAMLCOPT) $(COMPFLAGSOPT) -c $<
101
 
 
102
 
# Generated dependencies below
103
 
 
104
 
expr.cmo: expr.cmi 
105
 
expr.cmx: expr.cmi 
106
 
auto.cmo: expr.cmi auto.cmi 
107
 
auto.cmx: expr.cmx auto.cmi 
108
 
ensent.cmo: ensent.cmi 
109
 
ensent.cmx: ensent.cmi 
110
 
determ.cmo: auto.cmi ensent.cmi determ.cmi 
111
 
determ.cmx: auto.cmx ensent.cmx determ.cmi 
112
 
grep.cmo: auto.cmi determ.cmi expr.cmi 
113
 
grep.cmx: auto.cmx determ.cmx expr.cmx 
114
 
expr.cmo: expr.cmi 
115
 
expr.cmx: expr.cmi 
116
 
auto.cmo: expr.cmi auto.cmi 
117
 
auto.cmx: expr.cmx auto.cmi 
118
 
ensent.cmo: ensent.cmi 
119
 
ensent.cmx: ensent.cmi 
120
 
determ.cmo: auto.cmi ensent.cmi determ.cmi 
121
 
determ.cmx: auto.cmx ensent.cmx determ.cmi 
122
 
grep.cmo: auto.cmi determ.cmi expr.cmi 
123
 
grep.cmx: auto.cmx determ.cmx expr.cmx 
124
 
expr.cmo: expr.cmi 
125
 
expr.cmx: expr.cmi 
126
 
auto.cmo: expr.cmi auto.cmi 
127
 
auto.cmx: expr.cmx auto.cmi 
128
 
ensent.cmo: ensent.cmi 
129
 
ensent.cmx: ensent.cmi 
130
 
determ.cmo: auto.cmi ensent.cmi determ.cmi 
131
 
determ.cmx: auto.cmx ensent.cmx determ.cmi 
132
 
fastgrep.cmo: auto.cmi determ.cmi expr.cmi fastrec.cmi 
133
 
fastgrep.cmx: auto.cmx determ.cmx expr.cmx fastrec.cmi