]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/cic_proof_checking/Makefile
subst_vars optimized for the explicit_named_subst=[] case (the most common
[helm.git] / helm / ocaml / cic_proof_checking / Makefile
index 95657131f9236360f9f1f597a138f12df157ea1d..28462e58e5140d8f98ac0c1c1c3abedbce79ef50 100644 (file)
@@ -1,6 +1,5 @@
 
 PACKAGE = cic_proof_checking
-REQUIRES = helm-cic helm-logger helm-getter helm-xml pxp
 PREDICATES =
 
 REDUCTION_IMPLEMENTATION = cicReductionMachine.ml
@@ -12,10 +11,10 @@ INTERFACE_FILES = \
        cicUnivUtils.mli \
        cicSubstitution.mli \
        cicMiniReduction.mli \
-       cicReductionNaif.mli \
        cicReduction.mli \
        cicTypeChecker.mli \
-       cicElim.mli
+        freshNamesGenerator.mli \
+       $(NULL)
 IMPLEMENTATION_FILES = $(INTERFACE_FILES:%.mli=%.ml)
 
 # Metadata tools only need zeta-reduction
@@ -26,6 +25,9 @@ EXTRA_OBJECTS_TO_CLEAN =
 
 include ../Makefile.common
 
+cicReduction.cmo: OCAMLOPTIONS+=-rectypes
+cicReduction.cmx: OCAMLOPTIONS+=-rectypes
+
 all: all_utilities
 opt: opt_utilities
 
@@ -34,14 +36,6 @@ all_utilities:
 opt_utilities:
        $(MAKE) -C utilities/ opt
 
-cicReduction.ml: $(REDUCTION_IMPLEMENTATION)
-       if ! [ -f $@ ]; then \
-               echo "Using $< for $@"; \
-               ln -s $< $@;    \
-       else    \
-               true;   \
-       fi
-
 clean: clean_utilities
 clean_utilities:
        $(MAKE) -C utilities/ clean