X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2FMakefile.in;h=b4b99eb24fcb4328c33e6df45d012479ae45b7ea;hb=9415c1b38c7927adab499ddd75f9a19d650a9acd;hp=9ba9e8bd4f6c738ed206469c8cd10ead0e52a348;hpb=19429dfe8b29415d92918b35c2c2e1c60373b159;p=helm.git diff --git a/helm/ocaml/Makefile.in b/helm/ocaml/Makefile.in index 9ba9e8bd4..b4b99eb24 100644 --- a/helm/ocaml/Makefile.in +++ b/helm/ocaml/Makefile.in @@ -1,27 +1,28 @@ # Warning: the modules must be in compilation order -MODULES = \ - registry \ - thread \ - xml \ - urimanager \ - logger \ - getter \ - pxp \ - cic \ - cic_annotations \ - cic_annotations_cache \ - cic_cache \ - cic_proof_checking \ - cic_textual_parser \ - tex_cic_textual_parser \ - cic_unification \ - mathql \ - mathql_generator \ - mathql_interpreter \ - cic_omdoc \ - tactics \ - cic_transformations \ - cic_textual_parser2 +MODULES = \ + xml \ + pxp \ + registry \ + utf8_macros \ + thread \ + xmldiff \ + urimanager \ + logger \ + getter \ + cic \ + cic_annotations \ + cic_proof_checking \ + cic_unification \ + cic_omdoc \ + metadata \ + tactics \ + cic_notation \ + cic_transformations \ + cic_textual_parser2 \ + mathql \ + mathql_interpreter \ + mathql_generator \ + hbugs OCAMLFIND_DEST_DIR = @OCAMLFIND_DEST_DIR@ OCAMLFIND_META_DIR = @OCAMLFIND_META_DIR@ @@ -36,7 +37,7 @@ metas: $(METAS) depend: $(MODULES:%=%.depend) install: $(MODULES:%=%.install) uninstall: $(MODULES:%=%.uninstall) -clean: $(MODULES:%=%.clean) +clean: clean_metas $(MODULES:%=%.clean) clean_metas: rm -f $(METAS) distclean: clean clean_metas @@ -67,7 +68,7 @@ METAS/META.helm-%: METAS/meta.helm-%.src .dep.dot: echo "digraph G {" > $@ echo " rankdir = TB ;" >> $@ - for i in $(MODULES); do ocamlfind query helm-$$i -recursive -p-format | grep helm | sed "s/^helm-/ \"$$i\" -> \"/g" | sed "s/$$/\";/g" >> $@ ; done + for i in $(MODULES); do $(OCAMLFIND) query helm-$$i -recursive -p-format | grep helm | sed "s/^helm-/ \"$$i\" -> \"/g" | sed "s/$$/\";/g" >> $@ ; done mv $@ $@.old ; ./simplify_deps/simplify_deps.opt < $@.old > $@ ; rm $@.old echo "}" >> $@ @@ -75,14 +76,19 @@ METAS/META.helm-%: METAS/meta.helm-%.src .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 + 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 $@ $< + +tags: TAGS +.PHONY: TAGS +TAGS: + otags -vi -r . +