sync/Makefile
author Krista Grothoff <krista@pep-project.org>
Tue, 13 Dec 2016 14:54:00 +0100
branchENGINE-152
changeset 1483 65bf8eef6d70
parent 1409 e9bcd6142d54
child 1467 ff7c60d14af0
permissions -rw-r--r--
ENGINE-152 ENGINE-153 ENGINE-74 ENGINE-118: commits held in ENGINE-152 until Patrick gives the OK. REQUIRES UPDATE TO LIBETPAN.
vb@623
     1
include ../Makefile.conf
vb@618
     2
vb@883
     3
all: .statemachines .skeletons
vb@577
     4
vb@807
     5
skeleton: .skeletons
Edouard@610
     6
vb@809
     7
.skeletons: devicegroup.fsm gen_actions_skeleton.ysl2 fsm.yml2 functions.ysl2
vb@735
     8
	$(YML2PROC) -y gen_actions_skeleton.ysl2 $< -o $@
vb@623
     9
vb@809
    10
.statemachines: devicegroup.fsm gen_statemachine.ysl2 fsm.yml2 functions.ysl2
vb@735
    11
	$(YML2PROC) -y gen_statemachine.ysl2 $< -o $@
vb@577
    12
vb@577
    13
.PHONY: clean
vb@577
    14
vb@577
    15
clean:
vb@1409
    16
	rm -f *.xml *.xsl ../src/sync_fsm.* ../src/*.skeleton .statemachines .skeletons *.dot *.svg
vb@1409
    17
vb@1409
    18
%.xml: %.fsm
vb@1409
    19
	yml2c $< -o $@
vb@1409
    20
vb@1409
    21
%.dot: devicegroup.fsm gen_dot.ysl2
vb@1409
    22
	yml2proc -y gen_dot.ysl2 $<
vb@1409
    23
vb@1409
    24
%.svg: %.dot
vb@1409
    25
	dot -Tsvg -o $@ $<