X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2FMakefile.in;h=4f745c833c9a20409766bf2441d677eb048be345;hb=4d9a43f8a4813dc818d7454c4ebe2798f9aef283;hp=caa5169d6b567538e2d8dd710b09499dd05c1686;hpb=8a96c5b22d51ee2bbecdacbe5e16397914b3a3fb;p=helm.git diff --git a/helm/ocaml/Makefile.in b/helm/ocaml/Makefile.in index caa5169d6..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 \ @@ -13,12 +16,12 @@ MODULES = \ tex_cic_textual_parser \ cic_unification \ mathql \ - mathql mathql_generator \ + mathql_generator \ mathql_interpreter \ cic_omdoc \ tactics \ cic_transformations \ - logger + cic_textual_parser2 OCAMLFIND_DEST_DIR = @OCAMLFIND_DEST_DIR@ OCAMLFIND_META_DIR = @OCAMLFIND_META_DIR@ @@ -32,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): @@ -66,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 $@ $<