]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/cic_proof_checking/Makefile
ocaml 3.09 transition
[helm.git] / helm / ocaml / cic_proof_checking / Makefile
index 0259effd12d2a9239c6d3d69fe1657902c5bb863..352a53016d6b5b2aa28a407a1a2a755c086b47ab 100644 (file)
@@ -1,12 +1,22 @@
+
 PACKAGE = cic_proof_checking
-REQUIRES = helm-cic
+REQUIRES = helm-cic helm-logger helm-getter helm-xml
 PREDICATES =
 
 REDUCTION_IMPLEMENTATION = cicReductionMachine.ml
 
-INTERFACE_FILES = logger.mli cicEnvironment.mli cicPp.mli cicSubstitution.mli \
-                  cicMiniReduction.mli cicReductionNaif.mli cicReduction.mli \
-                  cicTypeChecker.mli
+INTERFACE_FILES = \
+       cicLogger.mli \
+       cicEnvironment.mli \
+       cicPp.mli \
+       cicUnivUtils.mli \
+       cicSubstitution.mli \
+       cicMiniReduction.mli \
+       cicReduction.mli \
+       cicTypeChecker.mli \
+        freshNamesGenerator.mli \
+       cicElim.mli     \
+       cicRecord.mli
 IMPLEMENTATION_FILES = $(INTERFACE_FILES:%.mli=%.ml)
 
 # Metadata tools only need zeta-reduction
@@ -17,11 +27,15 @@ EXTRA_OBJECTS_TO_CLEAN =
 
 include ../Makefile.common
 
-cicReduction.ml: $(REDUCTION_IMPLEMENTATION)
-       if ! [ -f $@ ]; then \
-               echo "Using $< for $@"; \
-               ln -s $< $@;    \
-       else    \
-               true;   \
-       fi
+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