adepend

This is modeled on the makedepend tool used for C/C++ programs that can be used to automatically produce file dependencies for make files. Given an ACT file, adepend will produce a one-line output that shows the dependency of the ACT file on others.

Suppose your ACT_HOME is set to /usr/local/cad, and you have the following test.act file:

import globals;
 
defproc test()
{
   chp {
     skip
   }
}

Then adepend output will look like this:

$ adepend test.act
test.act: /usr/local/cad/act/globals.act