X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fcic_notation%2FMakefile;h=d54e0a5f38e5b28d0d7e541eb6e424fa619bd0da;hb=0c04e1f673d69ac652c15705863931c45e107515;hp=b383154646687773a680e5dae56aebc6fb96ee06;hpb=724827ba7e5c1419229382487bed53f7dbb862db;p=helm.git diff --git a/helm/ocaml/cic_notation/Makefile b/helm/ocaml/cic_notation/Makefile index b38315464..d54e0a5f3 100644 --- a/helm/ocaml/cic_notation/Makefile +++ b/helm/ocaml/cic_notation/Makefile @@ -5,38 +5,53 @@ REQUIRES = \ helm-cic \ helm-utf8_macros \ camlp4.gramlib \ + helm-cic_transformations\ helm-cic_proof_checking \ ulex \ $(NULL) INTERFACE_FILES = \ cicNotationUtil.mli \ + cicNotationTag.mli \ cicNotationLexer.mli \ cicNotationEnv.mli \ cicNotationPp.mli \ + grafiteAstPp.mli \ + cicNotationMatcher.mli \ cicNotationFwd.mli \ cicNotationRew.mli \ cicNotationParser.mli \ + grafiteParser.mli \ + cicNotationPres.mli \ + cicNotation.mli \ $(NULL) IMPLEMENTATION_FILES = \ cicNotationPt.ml \ + grafiteAst.ml \ $(patsubst %.mli, %.ml, $(INTERFACE_FILES)) \ $(NULL) -all: +all: test_lexer test_parser LOCAL_LINKOPTS = -package helm-cic_notation -linkpkg test: test_lexer test_parser 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 $@ $< 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