%.cmi: OCAMLOPTIONS += -w Ae
 %.cmx: OCAMLOPTIONS += -w Ae
 
+include ../../Makefile.defs
+include ../Makefile.common
+
 depend.dot: $(IMPLEMENTATION_FILES) $(INTERFACE_FILES)
        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
        cat depend.dot | grep -v "^}$$" > /tmp/depend.dot && mv /tmp/depend.dot .
 depend.png depend.eps: depend.dot
        dot -Tpng > depend.png < depend.dot
        dot -Tps > depend.eps < depend.dot
-
-include ../../Makefile.defs
-include ../Makefile.common
-