X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fmatita%2FMakefile.in;h=bed070a5113122562e7824f2489c90746582f15e;hb=ebc063e65d908c9f35619c92454dbbe76bdabd40;hp=1ace35ca4daf58b7044a7fdb22e563422265c1e2;hpb=3a01bd3bb2a1d7b891b6c8b024bf6975d86d2a1f;p=helm.git diff --git a/helm/matita/Makefile.in b/helm/matita/Makefile.in index 1ace35ca4..bed070a51 100644 --- a/helm/matita/Makefile.in +++ b/helm/matita/Makefile.in @@ -21,6 +21,7 @@ CMOS = \ buildTimeConf.cmo \ matitaLog.cmo \ matitaTypes.cmo \ + matitaExcPp.cmo \ matitaMisc.cmo \ matitaDb.cmo \ matitaSync.cmo \ @@ -36,21 +37,26 @@ CCMOS = \ buildTimeConf.cmo \ matitaLog.cmo \ matitaTypes.cmo \ + matitaExcPp.cmo \ matitaMisc.cmo \ matitaDb.cmo \ matitaSync.cmo \ matitaDisambiguator.cmo \ - matitaEngine.cmo + matitaEngine.cmo \ + matitacLib.cmo + +all: matita matitac matitatop cicbrowser matitadep matitaclean -all: matita matitac cicbrowser +updater: $(LIB_DEPS) + $(OCAMLC) $(PKGS) -linkpkg -o $@ updater.ml ifeq ($(HAVE_OCAMLOPT),yes) CMXS = $(patsubst %.cmo,%.cmx,$(CMOS)) CCMXS = $(patsubst %.cmo,%.cmx,$(CCMOS)) LIB_DEPS := $(shell $(OCAMLFIND) query -recursive -predicates "byte" -format "%d/%a" $(REQUIRES)) LIBX_DEPS := $(shell $(OCAMLFIND) query -recursive -predicates "native" -format "%d/%a" $(REQUIRES)) -opt: matita.opt matitac.opt cicbrowser.opt +opt: matita.opt matitac.opt cicbrowser.opt matitadep.opt matitaclean.opt else opt: @echo "Native code compilation is disabled" @@ -63,9 +69,22 @@ matita.opt: $(LIBX_DEPS) $(CMXS) matita.ml matitac: $(LIB_DEPS) $(CCMOS) matitac.ml $(OCAMLC) $(CPKGS) -linkpkg -o $@ $(CCMOS) matitac.ml -matitac.opt: $(LIBX_DEPS) $(CMXS) matitac.ml +matitac.opt: $(LIBX_DEPS) $(CCMXS) matitac.ml $(OCAMLOPT) $(CPKGS) -linkpkg -o $@ $(CCMXS) matitac.ml +matitatop: matitatop.ml $(LIB_DEPS) $(CCMOS) + $(OCAMLC) $(CPKGS) -linkpkg -o $@ toplevellib.cma $(CCMOS) $< + +matitadep: matitadep.ml $(LIB_DEPS) $(CCMOS) + $(OCAMLC) $(CPKGS) -linkpkg -o $@ $(CCMOS) $< +matitadep.opt: matitadep.ml $(LIB_DEPS) $(CCMXS) + $(OCAMLOPT) $(CPKGS) -linkpkg -o $@ $(CCMXS) $< + +matitaclean: matitaclean.ml $(LIB_DEPS) $(CCMOS) + $(OCAMLC) $(CPKGS) -linkpkg -o $@ $(CCMOS) $< +matitaclean.opt: matitaclean.ml $(LIB_DEPS) $(CCMXS) + $(OCAMLOPT) $(CPKGS) -linkpkg -o $@ $(CCMXS) $< + cicbrowser: matita @test -f $@ || ln -s $< $@ cicbrowser.opt: matita.opt @@ -87,7 +106,9 @@ matitaGeneratedGui.ml matitaGeneratedGui.mli: matita.glade clean: rm -rf *.cma *.cmo *.cmi *.cmx *.cmxa *.a *.o \ matita matita.opt matitac matitac.opt \ - cicbrowser cicbrowser.opt + cicbrowser cicbrowser.opt \ + matitadep matitadep.opt \ + matitaclean matitaclean.opt distclean: clean rm -f matitaGeneratedGui.ml matitaGeneratedGui.mli rm -f config.log config.status Makefile buildTimeConf.ml @@ -95,8 +116,10 @@ distclean: clean rm -rf autom4te.cache/ tests: matitac - for i in tests/*.ma; do (./matitac $$i 2> /dev/null > /dev/null && echo "[OK] $$i") || echo "[KO] $$i"; done -.PHONY: tests + @scripts/do_tests.sh ./matitac /dev/null tests/*.ma +tests.opt: matitac.opt + @scripts/do_tests.sh ./matitac.opt /dev/null tests/*.ma +.PHONY: tests tests.opt tags: TAGS .PHONY: TAGS