X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fcic_proof_checking%2FMakefile;h=0de0fcda00d2f45b7d6c6173fb421c6b3cfd8865;hb=fc35fbb35a01c110f221c52661f1193ea5664aa6;hp=97bd462b5e8deac388c3180b7af3d922602c5aa2;hpb=e97039cc9e0a8e4f992c712a1ccf47c801e1abcc;p=helm.git diff --git a/helm/ocaml/cic_proof_checking/Makefile b/helm/ocaml/cic_proof_checking/Makefile index 97bd462b5..0de0fcda0 100644 --- a/helm/ocaml/cic_proof_checking/Makefile +++ b/helm/ocaml/cic_proof_checking/Makefile @@ -2,13 +2,26 @@ PACKAGE = cic_proof_checking REQUIRES = helm-cic PREDICATES = -DEPOBJS = cicPp.mli cicPp.ml cicEnvironment.mli cicEnvironment.ml \ - cicSubstitution.mli cicSubstitution.ml cicReduction.mli \ - cicReduction.ml cicTypeChecker.mli cicTypeChecker.ml \ - cicCooking.mli cicCooking.ml cicMinireduction.mli cicMiniReduction.ml +REDUCTION_IMPLEMENTATION = cicReductionMachine.ml -OBJECTS = cicSubstitution.cmo cicEnvironment.cmo cicPp.cmo \ - cicMiniReduction.cmo cicReduction.cmo cicTypeChecker.cmo \ - cicCooking.cmo +INTERFACE_FILES = logger.mli cicEnvironment.mli cicPp.mli cicSubstitution.mli \ + cicMiniReduction.mli cicReductionNaif.mli cicReduction.mli \ + cicTypeChecker.mli +IMPLEMENTATION_FILES = $(INTERFACE_FILES:%.mli=%.ml) + +# Metadata tools only need zeta-reduction +EXTRA_OBJECTS_TO_INSTALL = \ + cicSubstitution.cmo cicSubstitution.cmx cicSubstitution.o \ + cicMiniReduction.cmo cicMiniReduction.cmx cicMiniReduction.o +EXTRA_OBJECTS_TO_CLEAN = include ../Makefile.common + +cicReduction.ml: $(REDUCTION_IMPLEMENTATION) + if ! [ -f $@ ]; then \ + echo "Using $< for $@"; \ + ln -s $< $@; \ + else \ + true; \ + fi +