X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2FMakefile.in;h=4f745c833c9a20409766bf2441d677eb048be345;hb=4d9a43f8a4813dc818d7454c4ebe2798f9aef283;hp=02d81d265f58a8f762c468e6554db749f666c290;hpb=ef5ed8ca675b0cbc6604ffbecd23cc3b28982863;p=helm.git diff --git a/helm/ocaml/Makefile.in b/helm/ocaml/Makefile.in index 02d81d265..4f745c833 100644 --- a/helm/ocaml/Makefile.in +++ b/helm/ocaml/Makefile.in @@ -1,7 +1,10 @@ # Warning: the modules must be in compilation order MODULES = \ + registry \ + thread \ xml \ urimanager \ + logger \ getter \ pxp \ cic \ @@ -10,7 +13,6 @@ MODULES = \ cic_cache \ cic_proof_checking \ cic_textual_parser \ - cic_textual_parser2 \ tex_cic_textual_parser \ cic_unification \ mathql \ @@ -19,7 +21,7 @@ MODULES = \ cic_omdoc \ tactics \ cic_transformations \ - logger + cic_textual_parser2 OCAMLFIND_DEST_DIR = @OCAMLFIND_DEST_DIR@ OCAMLFIND_META_DIR = @OCAMLFIND_META_DIR@ @@ -33,11 +35,11 @@ metas: $(METAS) depend: $(MODULES:%=%.depend) install: $(MODULES:%=%.install) uninstall: $(MODULES:%=%.uninstall) -clean: $(MODULES:%=%.clean) clean_metas +clean: $(MODULES:%=%.clean) clean_metas: rm -f $(METAS) -dist-clean: clean +distclean: clean clean_metas rm -f Makefile Makefile.common configure config.log config.cache config.status $(MODULES:%=%.all): @@ -67,5 +69,18 @@ METAS/META.helm-%: METAS/meta.helm-%.src mv $@ $@.old ; ./simplify_deps/simplify_deps.opt < $@.old > $@ ; rm $@.old echo "}" >> $@ +.PHONY: .alldep.dot +.alldep.dot: + echo "digraph G {" > $@ + echo " rankdir = TB ;" >> $@ + for i in $(MODULES); do ocamlfind query helm-$$i -recursive -p-format | grep -v "pxp-" | sed "s/^pxp/pxp[-*]/g" | sed "s/^/ \"helm-$$i\" -> \"/g" | sed "s/$$/\";/g" >> $@ ; done + mv $@ $@.old ; ./simplify_deps/simplify_deps.opt < $@.old > $@ ; rm $@.old + for i in $(MODULES); do echo "\"helm-$$i\" [shape=box,style=filled,fillcolor=yellow];" >> $@ ; done + echo "}" >> $@ + + libraries.ps: .dep.dot dot -Tps -o $@ $< + +libraries-complete.ps: .alldep.dot + dot -Tps -o $@ $<