]> 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 c8828a22476267d1fb6a4ceb8c8c54b2e61c3fe6..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
@@ -8,14 +7,14 @@ REDUCTION_IMPLEMENTATION = cicReductionMachine.ml
 INTERFACE_FILES = \
        cicLogger.mli \
        cicEnvironment.mli \
-       cicUnivUtils.mli \
        cicPp.mli \
+       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,11 +25,18 @@ EXTRA_OBJECTS_TO_CLEAN =
 
 include ../Makefile.common
 
-cicReduction.ml: $(REDUCTION_IMPLEMENTATION)
-       if ! [ -f $@ ]; then \
-               echo "Using $< for $@"; \
-               ln -s $< $@;    \
-       else    \
-               true;   \
-       fi
+cicReduction.cmo: OCAMLOPTIONS+=-rectypes
+cicReduction.cmx: OCAMLOPTIONS+=-rectypes
+
+all: all_utilities
+opt: opt_utilities
+
+all_utilities:
+       $(MAKE) -C utilities/ all
+opt_utilities:
+       $(MAKE) -C utilities/ opt
+
+clean: clean_utilities
+clean_utilities:
+       $(MAKE) -C utilities/ clean