documentation/images/Makefile
author Knud Baastrup <kba@deif.com>
Tue, 14 Apr 2015 10:12:55 -0400
changeset 2625 e25af8bd3957
parent 1771 7183fe5f27fa
permissions -rw-r--r--
Eoe mac address now derived from unique mac.
The EoE MAC address is now derived from the NIC part of the first global
unique MAC address of the linked list of available network interfaces or
otherwise the MAC address used by the EtherCAT master. The EoE MAC address
will get the format 02:NIC:NIC:NIC:RP:RP where NIC comes from the unique MAC
address (if available) and RP is the ring position of the EoE slave.
1089
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     1
#-----------------------------------------------------------------------------
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     2
#
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     3
# $Id$
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     4
#
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     5
#-----------------------------------------------------------------------------
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     6
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     7
FIGS := \
1094
eb0258e53236 App interface; doxygen; bib.
Florian Pose <fp@igh-essen.com>
parents: 1089
diff changeset
     8
	app-config.fig \
1293
a2a03519ee47 Prcess data; slave configuration + attachment; typos.
Florian Pose <fp@igh-essen.com>
parents: 1203
diff changeset
     9
	attach.fig \
1517
b99f2f9cb73f DC documentation; new callback mechanism; cstruct
Florian Pose <fp@igh-essen.com>
parents: 1293
diff changeset
    10
	dc.fig \
1089
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    11
	fmmus.fig \
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    12
	fsm-coedown.fig \
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    13
	fsm-eoe.fig \
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    14
	interrupt.fig \
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    15
	master-locks.fig \
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    16
	masters.fig \
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    17
	phases.fig \
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    18
	statetrans.fig
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    19
1771
7183fe5f27fa Auto-generate architecture pdf.
Florian Pose <fp@igh-essen.com>
parents: 1588
diff changeset
    20
FIGPDFS = $(FIGS:.fig=.pdf)
1089
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    21
1771
7183fe5f27fa Auto-generate architecture pdf.
Florian Pose <fp@igh-essen.com>
parents: 1588
diff changeset
    22
SVGS := \
7183fe5f27fa Auto-generate architecture pdf.
Florian Pose <fp@igh-essen.com>
parents: 1588
diff changeset
    23
	architecture.svg
7183fe5f27fa Auto-generate architecture pdf.
Florian Pose <fp@igh-essen.com>
parents: 1588
diff changeset
    24
7183fe5f27fa Auto-generate architecture pdf.
Florian Pose <fp@igh-essen.com>
parents: 1588
diff changeset
    25
SVGPDFS = $(SVGS:.svg=.pdf)
7183fe5f27fa Auto-generate architecture pdf.
Florian Pose <fp@igh-essen.com>
parents: 1588
diff changeset
    26
7183fe5f27fa Auto-generate architecture pdf.
Florian Pose <fp@igh-essen.com>
parents: 1588
diff changeset
    27
all: $(FIGPDFS) $(SVGPDFS)
1089
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    28
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    29
%.pdf: %.fig
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    30
	fig2dev -L pdf -z A4 -p xxx -c $< $@	
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    31
1771
7183fe5f27fa Auto-generate architecture pdf.
Florian Pose <fp@igh-essen.com>
parents: 1588
diff changeset
    32
%.pdf: %.svg
7183fe5f27fa Auto-generate architecture pdf.
Florian Pose <fp@igh-essen.com>
parents: 1588
diff changeset
    33
	inkscape --export-pdf=$@ $<
7183fe5f27fa Auto-generate architecture pdf.
Florian Pose <fp@igh-essen.com>
parents: 1588
diff changeset
    34
1089
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    35
clean:
1771
7183fe5f27fa Auto-generate architecture pdf.
Florian Pose <fp@igh-essen.com>
parents: 1588
diff changeset
    36
	@rm -rv $(FIGPDFS) $(SVGPDFS)
1089
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    37
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    38
#-----------------------------------------------------------------------------