blob: d3a04c62f35ca91417ee30e3d0d6099d1f24c760 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
SUBDIRS = \
examples \
manuals \
$(NULL)
msc: \
$(builddir)/legend_for_ladder_diagrams.png \
$(builddir)/handover.png \
$(builddir)/assignment.png \
$(builddir)/timeslot.png \
$(builddir)/lchan.png \
$(builddir)/ts-and-lchan-fsm-lifecycle.png \
$(builddir)/handover-inter-bsc-out.png \
$(builddir)/handover-inter-bsc-in.png \
$(builddir)/mgw-endpoint.png \
$(NULL)
dot: \
$(builddir)/legend_for_fsm_diagrams.png \
$(builddir)/assignment-fsm.png \
$(builddir)/timeslot-fsm.png \
$(builddir)/lchan-fsm.png \
$(builddir)/lchan-rtp-fsm.png \
$(builddir)/mgw-endpoint-fsm.png \
$(builddir)/handover-intra-bsc-fsm.png \
$(builddir)/handover-inter-bsc-out-fsm.png \
$(builddir)/handover-inter-bsc-in-fsm.png \
$(NULL)
$(builddir)/%.png: $(srcdir)/%.msc
mscgen -T png -o $@ $<
$(builddir)/%.png: $(srcdir)/%.dot
dot -Tpng $< > $@
.PHONY: poll
poll:
while true; do $(MAKE) msc dot; sleep 1; done
|