aboutsummaryrefslogtreecommitdiffstats
path: root/doc/Makefile.am
blob: 8418c2828afbcb20fc001a36f6acfd41bf2e1ac4 (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
SUBDIRS = \
	examples \
	old \
	$(NULL)

msc: \
	$(builddir)/handover.png \
	$(builddir)/assignment.png \
	$(builddir)/lchan-release.png \
	$(builddir)/ms-channel-request.png \
	$(builddir)/timeslot.png \
	$(builddir)/lchan.png \
	$(builddir)/ts-and-lchan-fsm-lifecycle.png \
	$(builddir)/handover-inter-bsc-mo.png \
	$(builddir)/handover-inter-bsc-mt.png \
	$(NULL)

dot: \
	$(builddir)/assignment-fsm.png \
	$(builddir)/timeslot-fsm.png \
	$(builddir)/lchan-fsm.png \
	$(builddir)/mgw-endpoint-fsm.png \
	$(builddir)/handover-intra-bsc-fsm.png \
	$(builddir)/handover-inter-bsc-mo-fsm.png \
	$(builddir)/handover-inter-bsc-mt-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