]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/cic_notation/Makefile
ocaml 3.09 transition
[helm.git] / helm / ocaml / cic_notation / Makefile
index 76048ac8070d8c7dab979a73812d5f50c0b139a9..cfd1ad505d61ec46a0d4bca013ad52b0c4e06056 100644 (file)
@@ -9,37 +9,56 @@ REQUIRES = \
        ulex                    \
        $(NULL)
 INTERFACE_FILES = \
+       renderingAttrs.mli      \
        cicNotationUtil.mli     \
        cicNotationTag.mli      \
        cicNotationLexer.mli    \
        cicNotationEnv.mli      \
        cicNotationPp.mli       \
+       grafiteAstPp.mli        \
        cicNotationMatcher.mli  \
        cicNotationFwd.mli      \
        cicNotationRew.mli      \
        cicNotationParser.mli   \
+       grafiteParser.mli       \
+       mpresentation.mli       \
+       box.mli                 \
+       cicNotationPres.mli     \
+       boxPp.mli               \
+       cicNotation.mli         \
        $(NULL)
 IMPLEMENTATION_FILES = \
        cicNotationPt.ml        \
+       grafiteAst.ml           \
        $(patsubst %.mli, %.ml, $(INTERFACE_FILES))     \
        $(NULL)
 
-all:
+all: test_lexer test_parser test_dep print_grammar
 
 LOCAL_LINKOPTS = -package helm-cic_notation -linkpkg
-test: test_lexer test_parser
+test: test_lexer test_parser test_dep
 test_lexer: test_lexer.ml $(PACKAGE).cma
        $(OCAMLC) $(LOCAL_LINKOPTS) -o $@ $<
 test_parser: REQUIRES += helm-cic_omdoc
 test_parser: test_parser.ml $(PACKAGE).cma
        $(OCAMLC) $(LOCAL_LINKOPTS) -o $@ $<
+test_dep: test_dep.ml $(PACKAGE).cma
+       $(OCAMLC) $(LOCAL_LINKOPTS) -o $@ $<
+print_grammar: print_grammar.ml $(PACKAGE).cma
+       $(OCAMLC) $(LOCAL_LINKOPTS) -o $@ $<
 
 cicNotationLexer.cmo: OCAMLC = $(OCAMLC_P4)
 cicNotationParser.cmo: OCAMLC = $(OCAMLC_P4)
+grafiteParser.cmo: OCAMLC = $(OCAMLC_P4)
 cicNotationLexer.cmx: OCAMLOPT = $(OCAMLOPT_P4)
 cicNotationParser.cmx: OCAMLOPT = $(OCAMLOPT_P4)
+grafiteParser.cmx: OCAMLOPT = $(OCAMLOPT_P4)
 cicNotationParser.ml.annot: OCAMLC = $(OCAMLC_P4)
+grafiteParser.ml.annot: OCAMLC = $(OCAMLC_P4)
 cicNotationLexer.ml.annot: OCAMLC = $(OCAMLC_P4)
+cicNotationPres.cmi: OCAMLOPTIONS += -rectypes
+cicNotationPres.cmo: OCAMLOPTIONS += -rectypes
+cicNotationPres.cmx: OCAMLOPTIONS += -rectypes
 
 clean: extra_clean
 distclean: extra_clean