[comp.lang.c] Wanted - C/C++ file dependency analyzer and delivery package generator

rsw@cs.brown.EDU (Bob Weiner) (04/05/91)

When building programs that make use of large class or module libraries, I
sometimes find I want to deliver the source code from the library necessary to
build the program but no more.  Really, the need is only at the file level, so
if some unneeded classes were included with a needed class, it would be alright
for my purposes to deliver the whole file.

So does anyone have or know of a program that at least looks at a set of source
files and recursively determines all #include files that they use?  To solve
the whole problem, it would also have to examine the code and determine caller,
callee dependencies and also handle standard system functions in some useful
manner by not trying to include them in the delivery package.
--
Bob Weiner				   rsw@cs.brown.edu