documentation/graphs/Makefile
author Florian Pose <fp@igh-essen.com>
Thu, 31 Jul 2008 16:17:53 +0000
changeset 1175 4684e0206eb9
parent 1174 235f34ca50e2
child 1202 91d190223daa
child 1630 ffa89570d84f
permissions -rw-r--r--
Avoided compiler warning.
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
#
1e74a0212418 Added DOT graph for slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     3
# $Id$
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 := \
879
9b395c5646ab Changed terms "Pdo mapping" -> "Pdo assignment" and "Pdo configuration"
Florian Pose <fp@igh-essen.com>
parents: 829
diff changeset
     8
	fsm_master \
1174
235f34ca50e2 Major Pdo configuration change: Read mapping of unknown Pdos during
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
     9
	fsm_pdo_conf \
235f34ca50e2 Major Pdo configuration change: Read mapping of unknown Pdos during
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    10
	fsm_pdo_read \
235f34ca50e2 Major Pdo configuration change: Read mapping of unknown Pdos during
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    11
	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
    12
	fsm_pdo_entry_read \
829
0d3e4246e790 Added slave scan state machine graph.
Florian Pose <fp@igh-essen.com>
parents: 804
diff changeset
    13
	fsm_slave_conf \
879
9b395c5646ab Changed terms "Pdo mapping" -> "Pdo assignment" and "Pdo configuration"
Florian Pose <fp@igh-essen.com>
parents: 829
diff changeset
    14
	fsm_slave_scan
614
1e74a0212418 Added DOT graph for slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    15
829
0d3e4246e790 Added slave scan state machine graph.
Florian Pose <fp@igh-essen.com>
parents: 804
diff changeset
    16
#-----------------------------------------------------------------------------
0d3e4246e790 Added slave scan state machine graph.
Florian Pose <fp@igh-essen.com>
parents: 804
diff changeset
    17
0d3e4246e790 Added slave scan state machine graph.
Florian Pose <fp@igh-essen.com>
parents: 804
diff changeset
    18
PS = $(addsuffix .ps,$(GRAPHS))
0d3e4246e790 Added slave scan state machine graph.
Florian Pose <fp@igh-essen.com>
parents: 804
diff changeset
    19
PDF = $(addsuffix .pdf,$(GRAPHS))
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
#-----------------------------------------------------------------------------
0d3e4246e790 Added slave scan state machine graph.
Florian Pose <fp@igh-essen.com>
parents: 804
diff changeset
    22
0d3e4246e790 Added slave scan state machine graph.
Florian Pose <fp@igh-essen.com>
parents: 804
diff changeset
    23
all: $(PDF)
614
1e74a0212418 Added DOT graph for slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    24
1e74a0212418 Added DOT graph for slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    25
%.ps: %.dot
1e74a0212418 Added DOT graph for slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    26
	dot -Tps -o $@ $<
1e74a0212418 Added DOT graph for slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    27
829
0d3e4246e790 Added slave scan state machine graph.
Florian Pose <fp@igh-essen.com>
parents: 804
diff changeset
    28
%.pdf: %.ps
0d3e4246e790 Added slave scan state machine graph.
Florian Pose <fp@igh-essen.com>
parents: 804
diff changeset
    29
	ps2pdf $<
0d3e4246e790 Added slave scan state machine graph.
Florian Pose <fp@igh-essen.com>
parents: 804
diff changeset
    30
614
1e74a0212418 Added DOT graph for slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    31
clean:
829
0d3e4246e790 Added slave scan state machine graph.
Florian Pose <fp@igh-essen.com>
parents: 804
diff changeset
    32
	@rm -f *.ps *.pdf
614
1e74a0212418 Added DOT graph for slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    33
1e74a0212418 Added DOT graph for slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    34
#-----------------------------------------------------------------------------