Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] ocamldep 3.07 now saves system dependencies?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Richard Jones <rich@a...>
Subject: [Caml-list] ocamldep 3.07 now saves system dependencies?
I've noticed an apparent difference between ocamldep 3.06 and
3.07. The newer version now generates dependencies for certain (but
not all) system libraries.

For example dependencies like this:

main.cmx: browser.cmx database.cmx /usr/lib/ocaml/3.07/lablgtk2/gBin.cmx \
    /usr/lib/ocaml/3.07/lablgtk2/gButton.cmx \
    /usr/lib/ocaml/3.07/lablgtk2/gMain.cmx \
    /usr/lib/ocaml/3.07/lablgtk2/gMenu.cmx \
    /usr/lib/ocaml/3.07/lablgtk2/gMisc.cmx \
    /usr/lib/ocaml/3.07/lablgtk2/gPack.cmx \
    /usr/lib/ocaml/3.07/lablgtk2/gText.cmx \
    /usr/lib/ocaml/3.07/lablgtk2/gToolbox.cmx \
    /usr/lib/ocaml/3.07/lablgtk2/gWindow.cmx \
    /usr/lib/ocaml/3.07/lablgtk2/gdkKeysyms.cmx globals.cmx \
    selection_dialog.cmx

when I run this:

ocamldep -I +lablgtk2 -I ../lablgtk2-mozembed -I +apache -I +postgres -I +pcre browser.ml database.ml globals.ml lib.ml loadpage.ml main.ml selection_dialog.ml > .depend

This is unfortunate because my Makefile then goes off and tries to
build system libraries, and fails.

Has this behaviour changed?

Rich.

-- 
Richard Jones. http://www.annexia.org/ http://freshmeat.net/users/rwmj
Merjis Ltd. http://www.merjis.com/ - all your business data are belong to you.
"One serious obstacle to the adoption of good programming languages is
the notion that everything has to be sacrificed for speed. In computer
languages as in life, speed kills." -- Mike Vanier

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners