X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2FMakefile.in;h=66a0ae74a43192ecd502d87ddab85c16c0d33a9d;hb=6f0e3275c5a100568c8529d6c58150ef4af692d0;hp=2f3009462102aa36414b9b9d2a2e3e55f69b7bee;hpb=359a1bd5ae0e0a1495573e087b3ce29cd2dd442e;p=helm.git diff --git a/helm/ocaml/Makefile.in b/helm/ocaml/Makefile.in index 2f3009462..66a0ae74a 100644 --- a/helm/ocaml/Makefile.in +++ b/helm/ocaml/Makefile.in @@ -1,8 +1,11 @@ # Warning: the modules must be in compilation order NULL = MODULES = \ + extlib \ xml \ + hgdome \ registry \ + hmysql \ utf8_macros \ thread \ xmldiff \ @@ -11,22 +14,29 @@ MODULES = \ getter \ cic \ cic_proof_checking \ - cic_unification \ - cic_omdoc \ + cic_acic \ + acic_content \ + content_pres \ + grafite \ metadata \ + library \ + cic_unification \ + whelp \ tactics \ - cic_notation \ - cic_transformations \ - cic_textual_parser2 \ - paramodulation \ + cic_disambiguation \ + lexicon \ + grafite_engine \ + grafite_parser \ + tactics/paramodulation \ $(NULL) OCAMLFIND_DEST_DIR = @OCAMLFIND_DEST_DIR@ OCAMLPATH = @OCAMLFIND_META_DIR@ +OCAMLFIND = OCAMLPATH=$(OCAMLPATH):$$OCAMLPATH @OCAMLFIND@ -METAS = $(MODULES:%=METAS/META.helm-%) METAS/META.helm-cic_disambiguation +METAS = $(filter-out %/paramodulation,$(MODULES:%=METAS/META.helm-%)) -all: metas $(MODULES:%=%.all) +all: metas $(MODULES:%=%.all) opt: metas $(MODULES:%=%.opt) world: all opt metas: $(METAS) @@ -34,6 +44,11 @@ depend: $(MODULES:%=%.depend) install: $(MODULES:%=%.install) uninstall: $(MODULES:%=%.uninstall) clean: $(MODULES:%=%.clean) + +.stats: $(MODULES:%=%.stats) + (for m in $(MODULES); do echo -n "$$m:"; cat $$m/.stats; done) \ + | sort -t : -k 2 -n -r > .stats + clean_metas: rm -f $(METAS) distclean: clean clean_metas @@ -49,6 +64,8 @@ distclean: clean clean_metas OCAMLPATH=$(OCAMLPATH):$$OCAMLPATH $(MAKE) -C $* clean %.depend: OCAMLPATH=$(OCAMLPATH):$$OCAMLPATH $(MAKE) -C $* depend +%.stats: + $(MAKE) -C $* .stats $(MODULES:%=%.install): cd $(@:%.install=%) && make install @@ -78,12 +95,22 @@ METAS/META.helm-%: METAS/meta.helm-%.src for i in $(MODULES); do echo "\"helm-$$i\" [shape=box,style=filled,fillcolor=yellow];" >> $@ ; done echo "}" >> $@ +.extdep.dot: .dep.dot + ./patch_deps.sh $< $@ +.clustersdep.dot: .dep.dot + USE_CLUSTERS=yes ./patch_deps.sh $< $@ + libraries.ps: .dep.dot dot -Tps -o $@ $< - +libraries-ext.ps: .extdep.dot + dot -Tps -o $@ $< +libraries-clusters.ps: .clustersdep.dot + dot -Tps -o $@ $< libraries-complete.ps: .alldep.dot dot -Tps -o $@ $< +ps: libraries.ps libraries-ext.ps libraries-clusters.ps + tags: TAGS .PHONY: TAGS TAGS: