]> matita.cs.unibo.it Git - helm.git/blob - matita/components/content_pres/Makefile
added comment about version number to be manually changed
[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 all:
20 clean:
21
22 LOCAL_LINKOPTS = -package helm-content_pres -linkpkg
23
24 cicNotationLexer.cmo: OCAMLC = $(OCAMLC_P4)
25 cicNotationParser.cmo: OCAMLC = $(OCAMLC_P4) -w -27
26 cicNotationLexer.cmx: OCAMLOPT = $(OCAMLOPT_P4)
27 cicNotationParser.cmx: OCAMLOPT = $(OCAMLOPT_P4) -w -27
28 cicNotationLexer.ml.annot: OCAMLC = $(OCAMLC_P4)
29 cicNotationParser.ml.annot: OCAMLC = $(OCAMLC_P4)
30
31 include ../../Makefile.defs
32 include ../Makefile.common
33
34 # <cross> cross compatibility among ocaml 3.09 and ocaml 3.08, to be removed as
35 # soon as we have ocaml 3.09 everywhere and "loc" occurrences are replaced by
36 # "_loc" occurrences
37 UTF8DIR := $(shell $(OCAMLFIND) query helm-syntax_extensions)
38 ULEXDIR := $(shell $(OCAMLFIND) query ulex-camlp5)
39 MY_SYNTAXOPTIONS = -pp "camlp5o -I $(UTF8DIR) -I $(ULEXDIR) pa_extend.cmo pa_ulex.cma pa_unicode_macro.cma -loc loc"
40 cicNotationLexer.cmo: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
41 cicNotationParser.cmo: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
42 cicNotationLexer.cmx: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
43 cicNotationParser.cmx: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
44 cicNotationLexer.ml.annot: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
45 cicNotationParser.ml.annot: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
46 depend: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
47 depend.opt: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
48 # </cross>
49