summaryrefslogtreecommitdiff
path: root/tools/.depend
diff options
context:
space:
mode:
authoralainfrisch <alain@frisch.fr>2016-04-13 16:27:46 +0200
committerAlain Frisch <alain@frisch.fr>2016-04-13 16:46:32 +0200
commit8d9dd27cd4d4b04511ce5b3a8a621e4ed81156e1 (patch)
tree3ebc5a0cbc6a77c9c85aca986cb419a1109a24ac /tools/.depend
parent7924ec57074c127a7dffb79391eea9bc514491e1 (diff)
downloadocaml-8d9dd27cd4d4b04511ce5b3a8a621e4ed81156e1.tar.gz
Move depend.ml into compilerlibs (ocamlcommon).
This allows external tools to rely on the features provided by this module. An example is ocamldoc itself, which could now be implemented as an external tool. Note that LexiFi variants of OCaml has been embedding depend.ml in the compiler for a long time in order to support a stricter dependency mode where the compiler is only allowed to load .cmi files corresponding to dependencies as inferred by ocamldep (hereby ensuring that ocamldep is sound by construction).
Diffstat (limited to 'tools/.depend')
-rw-r--r--tools/.depend13
1 files changed, 4 insertions, 9 deletions
diff --git a/tools/.depend b/tools/.depend
index 745bbce9f7..b578b0ec4d 100644
--- a/tools/.depend
+++ b/tools/.depend
@@ -18,13 +18,6 @@ cmt2annot.cmx : ../typing/untypeast.cmx ../typing/types.cmx \
../parsing/asttypes.cmi ../typing/annot.cmi
cvt_emit.cmo :
cvt_emit.cmx :
-depend.cmo : ../parsing/parsetree.cmi ../utils/misc.cmi \
- ../parsing/longident.cmi ../parsing/location.cmi ../utils/clflags.cmi \
- ../parsing/builtin_attributes.cmi ../parsing/asttypes.cmi depend.cmi
-depend.cmx : ../parsing/parsetree.cmi ../utils/misc.cmx \
- ../parsing/longident.cmx ../parsing/location.cmx ../utils/clflags.cmx \
- ../parsing/builtin_attributes.cmx ../parsing/asttypes.cmi depend.cmi
-depend.cmi : ../parsing/parsetree.cmi ../parsing/longident.cmi
dumpobj.cmo : ../utils/tbl.cmi opnames.cmo ../bytecomp/opcodes.cmo \
../parsing/location.cmi ../bytecomp/lambda.cmi ../bytecomp/instruct.cmi \
../typing/ident.cmi ../utils/config.cmi ../bytecomp/cmo_format.cmi \
@@ -56,11 +49,13 @@ ocamlcp.cmx : ../driver/main_args.cmx
ocamldep.cmo : ../driver/pparse.cmi ../parsing/parsetree.cmi \
../parsing/parser.cmi ../parsing/parse.cmi ../utils/misc.cmi \
../parsing/longident.cmi ../parsing/location.cmi ../parsing/lexer.cmi \
- depend.cmi ../utils/config.cmi ../driver/compenv.cmi ../utils/clflags.cmi
+ ../parsing/depend.cmi ../utils/config.cmi ../driver/compenv.cmi \
+ ../utils/clflags.cmi
ocamldep.cmx : ../driver/pparse.cmx ../parsing/parsetree.cmi \
../parsing/parser.cmx ../parsing/parse.cmx ../utils/misc.cmx \
../parsing/longident.cmx ../parsing/location.cmx ../parsing/lexer.cmx \
- depend.cmx ../utils/config.cmx ../driver/compenv.cmx ../utils/clflags.cmx
+ ../parsing/depend.cmx ../utils/config.cmx ../driver/compenv.cmx \
+ ../utils/clflags.cmx
ocamlmklib.cmo : ocamlmklibconfig.cmo ../utils/config.cmi
ocamlmklib.cmx : ocamlmklibconfig.cmx ../utils/config.cmx
ocamlmklibconfig.cmo :