From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id OAA00080; Wed, 14 Apr 2004 14:30:31 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id OAA32520 for ; Wed, 14 Apr 2004 14:30:30 +0200 (MET DST) Received: from students.mimuw.edu.pl (zodiac.mimuw.edu.pl [193.0.96.128]) by concorde.inria.fr (8.12.10/8.12.10) with ESMTP id i3ECUTYM019906 for ; Wed, 14 Apr 2004 14:30:29 +0200 Received: from localhost (localhost [127.0.0.1]) by students.mimuw.edu.pl (Postfix) with ESMTP id 41F2517988 for ; Wed, 14 Apr 2004 14:30:27 +0200 (CEST) Received: from students.mimuw.edu.pl ([127.0.0.1]) by localhost (zodiac [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 25961-05 for ; Wed, 14 Apr 2004 12:30:26 +0000 (UTC) Received: by students.mimuw.edu.pl (Postfix, from userid 2600) id E4CDD1797C; Wed, 14 Apr 2004 14:30:26 +0200 (CEST) Date: Wed, 14 Apr 2004 14:30:26 +0200 From: Cezary Kaliszyk To: caml-list@inria.fr Subject: [Caml-list] Intelligent handling of dependencies in complex ocaml projects Message-ID: <20040414123026.GA25996@zodiac.mimuw.edu.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: by amavisd-new at students.mimuw.edu.pl X-Miltered: at concorde by Joe's j-chkmail ("http://j-chkmail.ensmp.fr")! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; cezary:01 kaliszyk:01 zodiac:01 dependencies:01 dependencies:01 ocamldep:01 ocamldep:01 flags:01 cezary:01 kaliszyk:01 ocaml:01 ocaml:01 command:98 executables:01 mimuw:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk X-Status: X-Keywords: X-UID: 324 Hello, We are developing a complex ocaml project with several modules contained in different subdirectiories. Compilation of some some executables in some directories depends on libraries compiled in other subdirectories. We'd like to be able to automatically generate cross-directory dependencies in format expected by Make. Ocamldep is insufficient becouse it requires providing all source files (from all directories) in command line. Different subprojects depend on different external libraries. These libraries may require different linkingflags. Some of them are contradictory. So I can't call ocamldep like ocamldep `find . -name "*.ml"` because it requires all those flags together. Is there any utility which allows doin it automatiacly? -- Cezary Kaliszyk ------------------- 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