]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/cic_disambiguation/Makefile
ocaml 3.09 transition
[helm.git] / helm / ocaml / cic_disambiguation / Makefile
index 94ea279bd628bba032e464e5c53f52c2256b933b..1c80b4e0af8a9113d22340a400cfc7de6831a335 100644 (file)
@@ -1,49 +1,24 @@
 
-PACKAGE = cic_textual_parser2
+PACKAGE = cic_disambiguation
 REQUIRES = \
-       helm-tactics helm-logger helm-cic_unification helm-cic_transformations \
+       helm-tactics helm-logger helm-cic_unification helm-cic_notation \
        helm-utf8_macros \
        ulex
-NOTATIONS = logic arit tex
-# NOTATIONS = logic arit
-INTERFACE_FILES = \
-       disambiguateTypes.mli \
-       disambiguateChoices.mli \
-       cicTextualLexer2.mli \
-       cicTextualParser2.mli \
+NOTATIONS = number
+INTERFACE_FILES =              \
+       disambiguateTypes.mli   \
+       disambiguateChoices.mli \
+       disambiguatePp.mli      \
        disambiguate.mli
 IMPLEMENTATION_FILES = \
        $(patsubst %.mli, %.ml, $(INTERFACE_FILES)) \
        $(patsubst %,%_notation.ml,$(NOTATIONS))
 
-all: test_lexer test_parser
+all:
 
-cicTextualLexer2.cmo: cicTextualLexer2.ml
-       $(OCAMLC_P4) -c $<
-cicTextualParser2.cmo: cicTextualParser2.ml
-       $(OCAMLC_P4) -c $<
-cicTextualLexer2.cmx: cicTextualLexer2.ml
-       $(OCAMLOPT_P4) -c $<
-cicTextualParser2.cmx: cicTextualParser2.ml
-       $(OCAMLOPT_P4) -c $<
-
-%_notation.cmo: %_notation.ml
-       $(OCAMLC_P4) -c $<
-%_notation.cmx: %_notation.ml
-       $(OCAMLOPT_P4) -c $<
-
-LOCAL_LINKOPTS = -package helm-cic_textual_parser2 -linkpkg
-test: test_lexer test_parser
-test_lexer: test_lexer.ml $(PACKAGE).cma
-       $(OCAMLC) $(LOCAL_LINKOPTS) -o $@ $<
-test_parser: test_parser.ml $(PACKAGE).cma
-       $(OCAMLC) $(LOCAL_LINKOPTS) -o $@ $<
-
-clean: extra_clean
-distclean: extra_clean
+clean:
+distclean:
        rm -f macro_table.dump
-extra_clean:
-       rm -f test_lexer test_parser
 
 include ../Makefile.common
 OCAMLARCHIVEOPTIONS += -linkall