next up previous contents
Next: 3.2.2 CASE Extensions Up: 3.2 Directories and Files Previous: 3.2 Directories and Files

3.2.1 Include Dependences

Additional dependences for source files are created by including files. These dependences are used during dependence check. File inclusion may have loops whereas the dependence tree created from the rules of the description files is an acyclic graph. For every source or include file the list of included file objects is stored. This method is different to standard make utilities where this information is stored per source file only. During dependence checking the includes are resolved by recursively traversing the directed include graph ignoring multiple entries. The include dependences are automatically generated by VMake on demand. That means whenever a file has been modified, the dependences for this single file are recreated. This guarantees an always up-to-date representation of all include dependences. Include files for sources are searched during dependence generation by VMake at the following places:

  1. At the local directory of the source file.
  2. At the list of project wide include files.
  3. At the list of exported include files from sub-projects.
An include file can be declared project wide or exported to parent projects with the Include-Target.



IUE WWW server
Fri Jan 3 17:00:13 MET 1997