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