documentation/graphs/Makefile
author Florian Pose <fp@igh-essen.com>
Thu, 06 Sep 2012 14:17:21 +0200
changeset 2414 f35c7c8e6591
parent 2152 cc8fcd840e30
child 2589 2b9c78543663
permissions -rw-r--r--
Replaced all mangled hg keywords.
614
1e74a0212418 Added DOT graph for slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     1
#-----------------------------------------------------------------------------
1e74a0212418 Added DOT graph for slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     2
#
2414
f35c7c8e6591 Replaced all mangled hg keywords.
Florian Pose <fp@igh-essen.com>
parents: 2152
diff changeset
     3
# $Id$
614
1e74a0212418 Added DOT graph for slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     4
#
1e74a0212418 Added DOT graph for slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     5
#-----------------------------------------------------------------------------
1e74a0212418 Added DOT graph for slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     6
752
3d5cd81674bd Added state machine graph for CoE mapping state machine.
Florian Pose <fp@igh-essen.com>
parents: 718
diff changeset
     7
GRAPHS := \
1203
acb649738601 Some more documentation...
Florian Pose <fp@igh-essen.com>
parents: 1202
diff changeset
     8
	fsm_change \
1478
0b19ac5acad2 Redesign of EoE statemachine.
Florian Pose <fp@igh-essen.com>
parents: 1203
diff changeset
     9
	fsm_eoe \
879
9b395c5646ab Changed terms "Pdo mapping" -> "Pdo assignment" and "Pdo configuration"
Florian Pose <fp@igh-essen.com>
parents: 829
diff changeset
    10
	fsm_master \
1174
235f34ca50e2 Major Pdo configuration change: Read mapping of unknown Pdos during
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    11
	fsm_pdo_conf \
235f34ca50e2 Major Pdo configuration change: Read mapping of unknown Pdos during
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    12
	fsm_pdo_entry_conf \
235f34ca50e2 Major Pdo configuration change: Read mapping of unknown Pdos during
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    13
	fsm_pdo_entry_read \
1203
acb649738601 Some more documentation...
Florian Pose <fp@igh-essen.com>
parents: 1202
diff changeset
    14
	fsm_pdo_read \
acb649738601 Some more documentation...
Florian Pose <fp@igh-essen.com>
parents: 1202
diff changeset
    15
	fsm_sii \
829
0d3e4246e790 Added slave scan state machine graph.
Florian Pose <fp@igh-essen.com>
parents: 804
diff changeset
    16
	fsm_slave_conf \
879
9b395c5646ab Changed terms "Pdo mapping" -> "Pdo assignment" and "Pdo configuration"
Florian Pose <fp@igh-essen.com>
parents: 829
diff changeset
    17
	fsm_slave_scan
614
1e74a0212418 Added DOT graph for slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    18
829
0d3e4246e790 Added slave scan state machine graph.
Florian Pose <fp@igh-essen.com>
parents: 804
diff changeset
    19
#-----------------------------------------------------------------------------
0d3e4246e790 Added slave scan state machine graph.
Florian Pose <fp@igh-essen.com>
parents: 804
diff changeset
    20
0d3e4246e790 Added slave scan state machine graph.
Florian Pose <fp@igh-essen.com>
parents: 804
diff changeset
    21
PS = $(addsuffix .ps,$(GRAPHS))
0d3e4246e790 Added slave scan state machine graph.
Florian Pose <fp@igh-essen.com>
parents: 804
diff changeset
    22
PDF = $(addsuffix .pdf,$(GRAPHS))
0d3e4246e790 Added slave scan state machine graph.
Florian Pose <fp@igh-essen.com>
parents: 804
diff changeset
    23
0d3e4246e790 Added slave scan state machine graph.
Florian Pose <fp@igh-essen.com>
parents: 804
diff changeset
    24
#-----------------------------------------------------------------------------
0d3e4246e790 Added slave scan state machine graph.
Florian Pose <fp@igh-essen.com>
parents: 804
diff changeset
    25
1202
91d190223daa Next changes for the documentation.
Florian Pose <fp@igh-essen.com>
parents: 1174
diff changeset
    26
all: pdf
91d190223daa Next changes for the documentation.
Florian Pose <fp@igh-essen.com>
parents: 1174
diff changeset
    27
91d190223daa Next changes for the documentation.
Florian Pose <fp@igh-essen.com>
parents: 1174
diff changeset
    28
pdf: $(PDF)
91d190223daa Next changes for the documentation.
Florian Pose <fp@igh-essen.com>
parents: 1174
diff changeset
    29
91d190223daa Next changes for the documentation.
Florian Pose <fp@igh-essen.com>
parents: 1174
diff changeset
    30
ps: $(PS)
614
1e74a0212418 Added DOT graph for slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    31
1e74a0212418 Added DOT graph for slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    32
%.ps: %.dot
1e74a0212418 Added DOT graph for slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    33
	dot -Tps -o $@ $<
1e74a0212418 Added DOT graph for slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    34
829
0d3e4246e790 Added slave scan state machine graph.
Florian Pose <fp@igh-essen.com>
parents: 804
diff changeset
    35
%.pdf: %.ps
2152
cc8fcd840e30 Use ps2pdf for graph generation.
Florian Pose <fp@igh-essen.com>
parents: 1478
diff changeset
    36
	ps2pdf $<
829
0d3e4246e790 Added slave scan state machine graph.
Florian Pose <fp@igh-essen.com>
parents: 804
diff changeset
    37
614
1e74a0212418 Added DOT graph for slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    38
clean:
829
0d3e4246e790 Added slave scan state machine graph.
Florian Pose <fp@igh-essen.com>
parents: 804
diff changeset
    39
	@rm -f *.ps *.pdf
614
1e74a0212418 Added DOT graph for slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    40
1e74a0212418 Added DOT graph for slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    41
#-----------------------------------------------------------------------------