forked from icshwi/ecmccfg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
GNUmakefile
44 lines (35 loc) · 1.17 KB
/
GNUmakefile
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
37
38
39
40
41
42
43
44
include /ioc/tools/driver.makefile
MODULE=ecmccfg
BUILDCLASSES = Linux
EXCLUDE_VERSIONS = 3 7.0.5
ARCH_FILTER=deb10%
SCRIPTS+=startup.cmd
HW_DIR = hardware/
DIRS += ${HW_DIR}Beckhoff_1XXX
DIRS += ${HW_DIR}Beckhoff_2XXX
DIRS += ${HW_DIR}Beckhoff_3XXX
DIRS += ${HW_DIR}Beckhoff_4XXX
DIRS += ${HW_DIR}Beckhoff_5XXX
DIRS += ${HW_DIR}Beckhoff_6XXX
DIRS += ${HW_DIR}Beckhoff_7XXX
DIRS += ${HW_DIR}Beckhoff_9XXX
# all scripts in Beckhoff_*XXX/* ending with 'cmd'
SCRIPTS += $(foreach d,${DIRS}, $(wildcard $d/*/*.cmd))
SCRIPTS+=$(wildcard ./scripts/*)
SCRIPTS+=$(wildcard ./scripts/jinja2/*)
SCRIPTS+=$(wildcard ./scripts/jinja2/templates/*.jinja2)
SCRIPTS+=$(wildcard ./naming/*)
SCRIPTS+=$(wildcard ./general/*)
SCRIPTS+=$(wildcard ./hardware/*/*.cmd)
SCRIPTS+=$(wildcard ./motion/*)
SCRIPTS+=$(wildcard ./protocol/*)
TEMPLATES+=$(wildcard ./db/*.db)
TEMPLATES+=$(wildcard ./db/*.template)
TEMPLATES+=$(wildcard ./db/*.substitutions)
TEMPLATES+=$(wildcard ./db/*.subs)
TEMPLATES+=$(wildcard ./db/*/*.db)
TEMPLATES+=$(wildcard ./db/*/*.template)
TEMPLATES+=$(wildcard ./db/*/*.substitutions)
TEMPLATES+=$(wildcard ./db/*/*.subs)
SOURCES += $(wildcard ./src/*.cpp)
DBDS += $(wildcard ./dbd/*.dbd)