Add dependency graph
This commit is contained in:
parent
fc21036aec
commit
5bfda2286f
|
@ -0,0 +1,8 @@
|
||||||
|
all: deps.png
|
||||||
|
|
||||||
|
%.png: %.dot
|
||||||
|
dot $< -Tpng > $@
|
||||||
|
|
||||||
|
.PHONY: view-%
|
||||||
|
view-%: %.dot
|
||||||
|
dot $< -Tpng | feh -
|
|
@ -0,0 +1,41 @@
|
||||||
|
digraph deps {
|
||||||
|
|
||||||
|
subgraph depsgr {
|
||||||
|
libdwarf [color=slategray];
|
||||||
|
libcxxfileno [label="libc++fileno", color=slategray];
|
||||||
|
libsrk31cxx [label="libsrk31c++", color=slategray];
|
||||||
|
libdwarfpp [color=slategray];
|
||||||
|
|
||||||
|
dwarfassembly [label="dwarf-assembly", color=limegreen];
|
||||||
|
libunwind [label="libunwind-eh_elf", color=limegreen];
|
||||||
|
perf [label="perf-eh_elf", color=limegreen];
|
||||||
|
|
||||||
|
dwarfinterpret [color=blue];
|
||||||
|
framemachine [label="frame-machine", color=blue];
|
||||||
|
libdwarfpptests [label="libdwarfpp-tests", color=blue];
|
||||||
|
|
||||||
|
|
||||||
|
libdwarf -> libdwarfpp;
|
||||||
|
libcxxfileno -> libsrk31cxx;
|
||||||
|
libcxxfileno -> libdwarfpp;
|
||||||
|
libsrk31cxx -> libdwarfpp;
|
||||||
|
|
||||||
|
libdwarfpp -> dwarfassembly;
|
||||||
|
|
||||||
|
libunwind -> perf;
|
||||||
|
|
||||||
|
libdwarfpp -> dwarfinterpret;
|
||||||
|
libdwarfpp -> framemachine;
|
||||||
|
libdwarfpp -> libdwarfpptests;
|
||||||
|
}
|
||||||
|
|
||||||
|
subgraph cluster_key {
|
||||||
|
label="Key";
|
||||||
|
|
||||||
|
extdep [label="External dependency", color=slategray];
|
||||||
|
main [label="Main project", color=limegreen];
|
||||||
|
side [label="Side project", color=blue];
|
||||||
|
}
|
||||||
|
|
||||||
|
framemachine -> main [style=invis];
|
||||||
|
}
|
Binary file not shown.
After Width: | Height: | Size: 71 KiB |
Loading…
Reference in New Issue