5 nDiscriminationTree.mli \
12 IMPLEMENTATION_FILES = \
13 $(INTERFACE_FILES:%.mli=%.ml)
14 EXTRA_OBJECTS_TO_INSTALL =
15 EXTRA_OBJECTS_TO_CLEAN =
16 %.cmo: OCAMLOPTIONS += -w Ae
17 %.cmi: OCAMLOPTIONS += -w Ae
18 %.cmx: OCAMLOPTIONS += -w Ae
21 %: %.ml $(PACKAGE).cma
22 $(OCAMLC) -package helm-$(PACKAGE) -linkpkg -o $@ $<
23 all.opt opt: rt.opt check.opt
24 %.opt: %.ml $(PACKAGE).cmxa
25 $(OCAMLOPT) -package helm-$(PACKAGE) -linkpkg -o $@ $<
27 depend.dot: $(IMPLEMENTATION_FILES) $(INTERFACE_FILES)
28 ocamldoc -o depend.dot -rectypes -I ../extlib/ -I ../cic -I ../cic_proof_checking/ -I ../urimanager/ -I ../logger/ -I ../registry/ -I ../getter/ -I ../hmysql/ -I ../library/ -I ../metadata/ -dot nUri.ml nReference.ml nCic.ml nCicPp.ml nCicEnvironment.ml nCicSubstitution.ml nCicReduction.ml nCicTypeChecker.ml nCicUtils.ml nCicLibrary.ml
29 cat depend.dot | grep -v "^}$$" > /tmp/depend.dot && mv /tmp/depend.dot .
30 for i in `cat depend.dot | grep darkturquoise | cut -d '"' -f 2`; do j=`echo $$i | sed s/^N/n/g`; size=`cat $$j.ml | wc -l`; funs=`cat $$j.mli | grep "^val " | wc -l`; size=`expr $$size - 13`; echo "\"$$i\" [ label=\"$$i\\n$$size lines,\\n$$funs functions\"];"; done >> depend.dot
31 echo "}" >> depend.dot
32 cat depend.dot | grep -v "darkturquoise" > /tmp/depend.dot && mv /tmp/depend.dot .
34 tred < depend.dot > /tmp/depend.dot && mv /tmp/depend.dot .
35 cat depend.dot | grep -v "^}$$" > /tmp/depend.dot && mv /tmp/depend.dot .
36 echo " NCicEnvironment -> NCicTypeChecker;" >> depend.dot
37 cat depend.dot | grep -v "NCicEnvironment -> NCic;" > /tmp/depend.dot && mv /tmp/depend.dot .
38 echo "NCicLibrary [ style=dashed ];" >> depend.dot
39 echo "NCicPp [ style=dashed ];" >> depend.dot
40 echo "}" >> depend.dot
41 cat depend.dot | grep -v "rotate" > /tmp/depend.dot && mv /tmp/depend.dot .
43 depend.png depend.eps: depend.dot
44 dot -Tpng > depend.png < depend.dot
45 dot -Tps > depend.eps < depend.dot
47 include ../../Makefile.defs
48 include ../Makefile.common