Skip to content

Commit d4bc0cf

Browse files
committed
add build diagrams
1 parent a94c79d commit d4bc0cf

File tree

6 files changed

+2085
-0
lines changed

6 files changed

+2085
-0
lines changed

build/make-code.gv

Lines changed: 142 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,142 @@
1+
digraph build {
2+
graph [
3+
rankdir="LR"
4+
nodesep="0.5"
5+
ranksep="0.3"
6+
];
7+
8+
node [
9+
shape="Mrecord"
10+
style="solid"
11+
height="0.2"
12+
penwidth="2.0"
13+
color="blue"
14+
fontcolor="black"
15+
fontsize="18"
16+
];
17+
18+
edge [
19+
penwidth="1.5"
20+
color="#000000"
21+
arrowsize="1.0"
22+
];
23+
24+
25+
config_h [ label="config.h" ]
26+
conststrings_c [ label="conststrings.c" ]
27+
gitver_c [ label="gitver.c" ]
28+
mutt_h [ label="\{hcache deps\}" ]
29+
30+
dot_configure [ label=<./configure <font color="red">●</font><font color="green">★</font>> shape="box" ]
31+
git [ label=<git <font color="red">●</font>> shape="box" ]
32+
ld_mutt [ label="ld" shape="box" ]
33+
34+
lots_obj -> ld_mutt
35+
ld_mutt -> neomutt
36+
37+
dot_configure -> config_h
38+
config_h -> generated [ style="dashed" ]
39+
40+
dot_configure -> conststrings_c
41+
conststrings_c -> generated [ style="dashed" ]
42+
43+
git -> gitver_c
44+
gitver_c -> generated [ style="dashed" ]
45+
46+
config_h -> hcachever_sh
47+
mutt_h -> hcachever_sh
48+
mutt_h -> compulsory [ style="dashed" ]
49+
50+
subgraph cluster_libraries {
51+
fontcolor="red"
52+
label="LIBRARIES: config, conn, email, mutt, ncrypt"
53+
color="#ff0000"
54+
55+
lots_lib_c [ label="\{lib.c\}" ]
56+
lots_lib_o [ label="\{lib.o\}" ]
57+
lib_a [ label="lib.a" ]
58+
59+
lots_lib_c -> lots_lib_o [ label="gcc" ]
60+
lots_lib_o -> lib_a [ label="ar" ]
61+
}
62+
63+
subgraph cluster_backends {
64+
fontcolor="red"
65+
label="MAIL BACKENDS: imap, maildir, mbox, nntp, notmuch, pop"
66+
color="#ff0000"
67+
68+
lots_backend_c [ label="\{backend.c\}" ]
69+
lots_backend_o [ label="\{backend.o\}" ]
70+
backend_a [ label="backend.a" ]
71+
72+
lots_backend_c -> lots_backend_o [ label="gcc" ]
73+
lots_backend_o -> backend_a [ label="ar" ]
74+
}
75+
76+
subgraph cluster_hcache {
77+
fontcolor="red"
78+
label="HCACHE"
79+
color="#ff0000"
80+
81+
lots_hcache_c [ label="\{hcache.c\}" ]
82+
lots_hcache_o [ label="\{hcache.o\}" ]
83+
backends_c [ label=<\{backends.c\} <font color="green">★</font>> ]
84+
hcachever_h [ label="hcachever.h" ]
85+
hcachever_sh [ label=<hcachever.sh <font color="red">●</font><font color="green">★</font>> color="green" shape="box" ]
86+
hcache_a [ label="hcache.a" ]
87+
88+
hcachever_sh -> hcachever_h
89+
hcachever_h -> lots_hcache_o
90+
backends_c -> lots_hcache_o [ label="gcc" ]
91+
lots_hcache_c -> lots_hcache_o [ label="gcc" ]
92+
lots_hcache_o -> hcache_a [ label="ar" ]
93+
}
94+
95+
subgraph cluster_source {
96+
fontcolor="red"
97+
label="SOURCE"
98+
color="#ff0000"
99+
100+
compulsory [ label="\{compulsory.c\}" ]
101+
conditional [ label=<\{conditional.c\} <font color="green">★</font>> ]
102+
enviromental [ label="\{enviromental.c\}" ]
103+
generated [ label="\{generated.c\}" ]
104+
lots_obj [ label="\{source.o\}" ]
105+
106+
compulsory -> lots_obj [ label="gcc" ]
107+
conditional -> lots_obj [ label="gcc" ]
108+
enviromental -> lots_obj [ label="gcc" ]
109+
generated -> lots_obj [ label="gcc" ]
110+
}
111+
112+
subgraph cluster_messages {
113+
fontcolor="red"
114+
label="MESSAGES"
115+
color="#ff0000"
116+
117+
lots_mo [ label="\{lang.mo\}" ]
118+
lots_po [ label="\{lang.po\}" ]
119+
neomutt_pot [ label="neomutt.pot" ]
120+
xgettext [ label="xgettext" shape="box" ]
121+
122+
POTFILES -> xgettext
123+
compulsory -> xgettext
124+
xgettext -> neomutt_pot
125+
neomutt_pot -> lots_po [ label="translator" ]
126+
lots_po -> lots_mo [ label="msgfmt" ]
127+
}
128+
129+
subgraph cluster_tools {
130+
fontcolor="red"
131+
label="TOOLS"
132+
color="#ff0000"
133+
134+
pgpewrap_src [ label="pgpewrap.c" ]
135+
pgpewrap_src -> pgpewrap [ label="gcc" ]
136+
}
137+
138+
hcache_a -> ld_mutt
139+
lib_a -> ld_mutt
140+
backend_a -> ld_mutt
141+
}
142+

0 commit comments

Comments
 (0)