]> matita.cs.unibo.it Git - helm.git/blob - helm/software/components/content_pres/Makefile
we started the infrastructure for the procedural rendering of proofs
[helm.git] / helm / software / 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         cicNotationPres.mli     \
13         boxPp.mli               \
14         content2pres.mli        \
15         content2Procedural.mli  \
16         objPp.mli               \
17         sequent2pres.mli        \
18         $(NULL)
19 IMPLEMENTATION_FILES =          \
20         $(INTERFACE_FILES:%.mli=%.ml)
21
22 cicNotationPres.cmi: OCAMLOPTIONS += -rectypes
23 cicNotationPres.cmo: OCAMLOPTIONS += -rectypes
24 cicNotationPres.cmx: OCAMLOPTIONS += -rectypes
25
26 all: test_lexer
27 clean: clean_tests
28
29 LOCAL_LINKOPTS = -package helm-content_pres -linkpkg
30 test: test_lexer
31 test_lexer: test_lexer.ml $(PACKAGE).cma
32         @echo "  OCAMLC $<"
33         @$(OCAMLC) $(LOCAL_LINKOPTS) -o $@ $<
34
35 clean_tests:
36         rm -f test_lexer{,.opt}
37
38 cicNotationLexer.cmo: OCAMLC = $(OCAMLC_P4)
39 cicNotationParser.cmo: OCAMLC = $(OCAMLC_P4)
40 cicNotationLexer.cmx: OCAMLOPT = $(OCAMLOPT_P4)
41 cicNotationParser.cmx: OCAMLOPT = $(OCAMLOPT_P4)
42 cicNotationLexer.ml.annot: OCAMLC = $(OCAMLC_P4)
43 cicNotationParser.ml.annot: OCAMLC = $(OCAMLC_P4)
44
45 include ../../Makefile.defs
46 include ../Makefile.common
47
48 # <cross> cross compatibility among ocaml 3.09 and ocaml 3.08, to be removed as
49 # soon as we have ocaml 3.09 everywhere and "loc" occurrences are replaced by
50 # "_loc" occurrences
51 UTF8DIR := $(shell $(OCAMLFIND) query helm-syntax_extensions)
52 ULEXDIR := $(shell $(OCAMLFIND) query ulex)
53 MY_SYNTAXOPTIONS = -pp "camlp4o -I $(UTF8DIR) -I $(ULEXDIR) pa_extend.cmo pa_ulex.cma pa_unicode_macro.cma -loc loc"
54 cicNotationLexer.cmo: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
55 cicNotationParser.cmo: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
56 cicNotationLexer.cmx: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
57 cicNotationParser.cmx: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
58 cicNotationLexer.ml.annot: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
59 cicNotationParser.ml.annot: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
60 depend: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
61 depend.opt: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
62 # </cross>
63