<HTML> <HEAD> <!-- Created by texi2html 1.56k + clip patches and <A href="http://www.clip.dia.fi.upm.es/Software">lpdoc</A> from ciao.texi on 28 January 2007 --> <LINK rel="stylesheet" href="ciao.css" type="text/css"> <TITLE>The Ciao Prolog System - Gathering the dependent files for a file</TITLE> </HEAD> <BODY> Go to the <A HREF="ciao_1.html">first</A>, <A HREF="ciao_181.html">previous</A>, <A HREF="ciao_183.html">next</A>, <A HREF="ciao_241.html">last</A> section, <A HREF="ciao_toc.html">table of contents</A>. <P><HR><P> <H1><A NAME="SEC733" HREF="ciao_toc.html#TOC733">Gathering the dependent files for a file</A></H1> <P> <STRONG>Author(s):</STRONG> Daniel Cabeza, Manuel Hermenegildo. <P> <STRONG>Version:</STRONG> 1.0#6 (1998/11/5, 13:56:58 MET) <P> This simple program takes a single Ciao or Prolog source filename (which is typically the main file of an application). It prints out the list of all the <A NAME="IDX8151"></A> dependent files, i.e., all files needed in order to build the application, including those which reside in libraries. This is particularly useful in Makefiles, for <A NAME="IDX8152"></A> building standalone distributions (e.g., <A NAME="IDX8153"></A> .tar files) automatically. <P> The filename should be followed by other arguments which will be taken to be library directory paths in which to look for files used by the file being analyzed. <UL> <LI><A HREF="ciao_182.html#SEC734">Usage (get_deps)</A> </UL> <H2><A NAME="SEC734" HREF="ciao_toc.html#TOC734">Usage (get_deps)</A></H2> <PRE> get_deps [-u <filename>] <filename> [lib_dir1] ... [lib_dirN] : return dependent files for <filename> found in [lib_dir1] ... [lib_dirN] get_deps -h : print this information </PRE> <P><HR><P> Go to the <A HREF="ciao_1.html">first</A>, <A HREF="ciao_181.html">previous</A>, <A HREF="ciao_183.html">next</A>, <A HREF="ciao_241.html">last</A> section, <A HREF="ciao_toc.html">table of contents</A>. </BODY> </HTML>