]> matita.cs.unibo.it Git - helm.git/blob - matita/components/content_pres/Makefile
1f4ede959fdfff29a0a9aab3121673d5512883a8
[helm.git] / matita / components / content_pres / Makefile
1 PACKAGE = content_pres
2 PREDICATES =
3
4 INTERFACE_FILES =                \
5         renderingAttrs.mli       \
6         cicNotationLexer.mli     \
7         cicNotationParser.mli    \
8         mpresentation.mli        \
9         box.mli                  \
10         content2presMatcher.mli  \
11         termContentPres.mli      \
12         boxPp.mli                \
13         cicNotationPres.mli      \
14         content2pres.mli         \
15         $(NULL)
16 IMPLEMENTATION_FILES =           \
17         $(INTERFACE_FILES:%.mli=%.ml)
18
19 cicNotationPres.cmi: OCAMLOPTIONS += -rectypes
20 cicNotationPres.cmo: OCAMLOPTIONS += -rectypes
21 cicNotationPres.cmx: OCAMLOPTIONS += -rectypes
22
23 all:
24 clean:
25
26 LOCAL_LINKOPTS = -package helm-content_pres -linkpkg
27
28 cicNotationLexer.cmo: OCAMLC = $(OCAMLC_P4)
29 cicNotationParser.cmo: OCAMLC = $(OCAMLC_P4)
30 cicNotationLexer.cmx: OCAMLOPT = $(OCAMLOPT_P4)
31 cicNotationParser.cmx: OCAMLOPT = $(OCAMLOPT_P4)
32 cicNotationLexer.ml.annot: OCAMLC = $(OCAMLC_P4)
33 cicNotationParser.ml.annot: OCAMLC = $(OCAMLC_P4)
34
35 include ../../Makefile.defs
36 include ../Makefile.common
37
38 # <cross> cross compatibility among ocaml 3.09 and ocaml 3.08, to be removed as
39 # soon as we have ocaml 3.09 everywhere and "loc" occurrences are replaced by
40 # "_loc" occurrences
41 UTF8DIR := $(shell $(OCAMLFIND) query helm-syntax_extensions)
42 ULEXDIR := $(shell $(OCAMLFIND) query ulex-camlp5)
43 MY_SYNTAXOPTIONS = -pp "camlp5o -I $(UTF8DIR) -I $(ULEXDIR) pa_extend.cmo pa_ulex.cma pa_unicode_macro.cma -loc loc"
44 cicNotationLexer.cmo: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
45 cicNotationParser.cmo: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
46 cicNotationLexer.cmx: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
47 cicNotationParser.cmx: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
48 cicNotationLexer.ml.annot: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
49 cicNotationParser.ml.annot: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
50 depend: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
51 depend.opt: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
52 # </cross>
53