[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Finding Circular Dependencies
From: |
Alexander Kriegisch |
Subject: |
Re: Finding Circular Dependencies |
Date: |
Tue, 12 Feb 2008 20:59:03 +0100 |
User-agent: |
Thunderbird 2.0.0.6 (X11/20071022) |
> GNU make's dependency graph is not a single-rooted tree. It's a set
> of directed acyclic graphs. There isn't really any one starting
> point inherent in the graph. GNU make starts either (a) where the
> user asks via command line goals, or (b) the first target it finds in
> the makefiles.
>
> The question is, do you want to construct a graph of the entire set
> of targets that are defined in the makefile? Because it's quite
> common for there to be a number of completely disjoint graphs. Or do
> you want to construct a graph for the targets that will actually be
> checked during a given invocation of make?
Both, optionally, if you ask me. The full set of graphs as an XML
structure would be nice as a minimum, so I could filter out what I do
not need. A second option to limit the output to just the target(s)
specified/checked during an invocation would come in handy, too.
May I be so bold as to ask if it would furthermore be possible to handle
recursive make calls in a structured way? Say, I have a buildroot with
several sub-makes for third-party applications. Would it be possible to
dump all make outputs in one big tree (might be a problem because of
multiple targets with the same name) or each one in a separate file +
information about which make target triggers which sub-make? This would
really provide me with the big picture and deep insight sometimes
necessary to fully understand a nested build process.
("Hand somebody your little finger, and he will take your whole hand",
as we say in Germany.)
Regards
--
Alexander Kriegisch
Certified ScrumMaster
http://scrum-master.de
- Finding Circular Dependencies, David A. Greene, 2008/02/08
- Re: Finding Circular Dependencies, Alexander Kriegisch, 2008/02/10
- Re: Finding Circular Dependencies, Eli Zaretskii, 2008/02/10
- Re: Finding Circular Dependencies, Alexander Kriegisch, 2008/02/11
- RE: Finding Circular Dependencies, Dave Korn, 2008/02/11
- Re: Finding Circular Dependencies, Eli Zaretskii, 2008/02/11
- Re: Finding Circular Dependencies, Paul Smith, 2008/02/12
- Re: Finding Circular Dependencies,
Alexander Kriegisch <=
- Re: Finding Circular Dependencies, Paul Smith, 2008/02/12
- Re: Finding Circular Dependencies, Alexander Kriegisch, 2008/02/13
- Re: Finding Circular Dependencies, Eric Melski, 2008/02/12
- Re: Finding Circular Dependencies, Eli Zaretskii, 2008/02/12
- Re: Finding Circular Dependencies, Paul Smith, 2008/02/12
Re: Finding Circular Dependencies, David A. Greene, 2008/02/11