X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fcic_proof_checking%2FMakefile;h=352a53016d6b5b2aa28a407a1a2a755c086b47ab;hb=4167cea65ca58897d1a3dbb81ff95de5074700cc;hp=61ba3b55d85557d5e9851fe184a41c17338fbf34;hpb=5a92117eeff70048d29e91ba24e113155d956e1b;p=helm.git diff --git a/helm/ocaml/cic_proof_checking/Makefile b/helm/ocaml/cic_proof_checking/Makefile index 61ba3b55d..352a53016 100644 --- a/helm/ocaml/cic_proof_checking/Makefile +++ b/helm/ocaml/cic_proof_checking/Makefile @@ -1,41 +1,41 @@ -BIN_DIR = /usr/local/bin -REQUIRES = helm-cic -PREDICATES = -OCAMLOPTIONS = -package "$(REQUIRES)" -predicates "$(PREDICATES)" -OCAMLC = ocamlfind ocamlc $(OCAMLOPTIONS) -OCAMLOPT = ocamlfind ocamlopt $(OCAMLOPTIONS) -OCAMLDEP = ocamldep - -all: cicSubstitution.cmo cicEnvironment.cmo cicPp.cmo cicMiniReduction.cmo \ - cicReduction.cmo cicTypeChecker.cmo cicCooking.cmo -opt: cicSubstitution.cmx cicEnvironment.cmx cicPp.cmx cicMiniReduction.cmx \ - cicReduction.cmx cicTypeChecker.cmx cicCooking.cmx - -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 - -depend: - $(OCAMLDEP) $(DEPOBJS) > .depend -.SUFFIXES: .ml .mli .cmo .cmi .cmx -.ml.cmo: - $(OCAMLC) -c $< -.mli.cmi: - $(OCAMLC) -c $< -.ml.cmx: - $(OCAMLOPT) -c $< - -clean: - rm -f *.cm[iox] - -install: - #cp - -uninstall: - #rm -f +PACKAGE = cic_proof_checking +REQUIRES = helm-cic helm-logger helm-getter helm-xml +PREDICATES = -.PHONY: install uninstall clean +REDUCTION_IMPLEMENTATION = cicReductionMachine.ml + +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 +EXTRA_OBJECTS_TO_INSTALL = \ + cicSubstitution.cmo cicSubstitution.cmx cicSubstitution.o \ + cicMiniReduction.cmo cicMiniReduction.cmx cicMiniReduction.o +EXTRA_OBJECTS_TO_CLEAN = + +include ../Makefile.common + +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 -include .depend