Identify all file dependencies during the build process that use makefiles and ant scripts

I am trying to understand the process of building code. The project uses both autoconf (configure scripts that generate makefiles) and Maven.

I would like to be able to identify all the file dependencies in the project, so for any output file that is ultimately generated by the assembly, I can determine how it was actually created. Ultimately, I would like to create a chart using something like graphviz to visualize the dependencies, but for now I just want to extract them,

Is there any automated way to do this? In other words, given some makefiles and Maven or ant XML files, as well as the name of the top-level landing page, is there a way to identify all the files that will be generated, the programs used to create them, and the input files associated with these programs?

+3
source share
2 answers

Electric Accelerator ClearCase - , , , (, ). , -make (: ).

, , make , , make , , , .

+1

maven, ./configure d , grep make -pd (make --print-data-base --dry-run), . , , , make, .

: automake, , #include d, .

0

Source: https://habr.com/ru/post/1756949/


All Articles