X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2FMakefile.in;h=1833ece7789f55f6f31ac5ef70892580eff3cb9a;hb=78cf601fd8b8dbb386b0db315dcbfdbe8256c15f;hp=0fb6d927aad6f9c4e9ff182122dfb3c21b7938eb;hpb=02e9c9fc41158e3d3f9b9b653c953a6704008248;p=helm.git diff --git a/helm/ocaml/Makefile.in b/helm/ocaml/Makefile.in index 0fb6d927a..1833ece77 100644 --- a/helm/ocaml/Makefile.in +++ b/helm/ocaml/Makefile.in @@ -31,6 +31,7 @@ CWD=`pwd` all: metas $(MODULES:%=%.all) opt: metas $(MODULES:%=%.opt) +world: all opt metas: $(METAS) depend: $(MODULES:%=%.depend) install: $(MODULES:%=%.install) @@ -38,10 +39,11 @@ uninstall: $(MODULES:%=%.uninstall) clean: $(MODULES:%=%.clean) clean_metas: rm -f $(METAS) - distclean: clean clean_metas rm -f Makefile Makefile.common configure config.log config.cache config.status +.PHONY: all opt world metas depend install uninstall clean clean_metas distclean + $(MODULES:%=%.all): export OCAMLPATH=$(CWD):$$OCAMLPATH ; cd $(@:%.all=%) && make all $(MODULES:%=%.opt): @@ -73,8 +75,9 @@ 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 | 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 "}" >> $@