author | Florian Pose |
Tue, 06 Feb 2018 14:58:14 +0100 | |
branch | stable-1.5 |
changeset 2697 | 4f5ae7e0fbaa |
parent 2666 | d9e14a0ddbd6 |
child 2708 | 742c70a97622 |
permissions | -rw-r--r-- |
922
fede1d8f5b71
Added the new ethercat comman-line tool with lsec functionality.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
1 |
#------------------------------------------------------------------------------ |
fede1d8f5b71
Added the new ethercat comman-line tool with lsec functionality.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
2 |
# |
fede1d8f5b71
Added the new ethercat comman-line tool with lsec functionality.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
3 |
# $Id$ |
fede1d8f5b71
Added the new ethercat comman-line tool with lsec functionality.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
4 |
# |
1326
ef907b0b5125
merge -c1603 branches/stable-1.4: Changed licence headers to avoid conflicts with the GPL; restricted licence to GPLv2 only.
Florian Pose <fp@igh-essen.com>
parents:
1254
diff
changeset
|
5 |
# Copyright (C) 2006-2008 Florian Pose, Ingenieurgemeinschaft IgH |
922
fede1d8f5b71
Added the new ethercat comman-line tool with lsec functionality.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
6 |
# |
fede1d8f5b71
Added the new ethercat comman-line tool with lsec functionality.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
7 |
# This file is part of the IgH EtherCAT Master. |
fede1d8f5b71
Added the new ethercat comman-line tool with lsec functionality.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
8 |
# |
1326
ef907b0b5125
merge -c1603 branches/stable-1.4: Changed licence headers to avoid conflicts with the GPL; restricted licence to GPLv2 only.
Florian Pose <fp@igh-essen.com>
parents:
1254
diff
changeset
|
9 |
# The IgH EtherCAT Master is free software; you can redistribute it and/or |
ef907b0b5125
merge -c1603 branches/stable-1.4: Changed licence headers to avoid conflicts with the GPL; restricted licence to GPLv2 only.
Florian Pose <fp@igh-essen.com>
parents:
1254
diff
changeset
|
10 |
# modify it under the terms of the GNU General Public License version 2, as |
ef907b0b5125
merge -c1603 branches/stable-1.4: Changed licence headers to avoid conflicts with the GPL; restricted licence to GPLv2 only.
Florian Pose <fp@igh-essen.com>
parents:
1254
diff
changeset
|
11 |
# published by the Free Software Foundation. |
922
fede1d8f5b71
Added the new ethercat comman-line tool with lsec functionality.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
12 |
# |
1326
ef907b0b5125
merge -c1603 branches/stable-1.4: Changed licence headers to avoid conflicts with the GPL; restricted licence to GPLv2 only.
Florian Pose <fp@igh-essen.com>
parents:
1254
diff
changeset
|
13 |
# The IgH EtherCAT Master is distributed in the hope that it will be useful, |
ef907b0b5125
merge -c1603 branches/stable-1.4: Changed licence headers to avoid conflicts with the GPL; restricted licence to GPLv2 only.
Florian Pose <fp@igh-essen.com>
parents:
1254
diff
changeset
|
14 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
ef907b0b5125
merge -c1603 branches/stable-1.4: Changed licence headers to avoid conflicts with the GPL; restricted licence to GPLv2 only.
Florian Pose <fp@igh-essen.com>
parents:
1254
diff
changeset
|
15 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General |
ef907b0b5125
merge -c1603 branches/stable-1.4: Changed licence headers to avoid conflicts with the GPL; restricted licence to GPLv2 only.
Florian Pose <fp@igh-essen.com>
parents:
1254
diff
changeset
|
16 |
# Public License for more details. |
922
fede1d8f5b71
Added the new ethercat comman-line tool with lsec functionality.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
17 |
# |
1326
ef907b0b5125
merge -c1603 branches/stable-1.4: Changed licence headers to avoid conflicts with the GPL; restricted licence to GPLv2 only.
Florian Pose <fp@igh-essen.com>
parents:
1254
diff
changeset
|
18 |
# You should have received a copy of the GNU General Public License along |
ef907b0b5125
merge -c1603 branches/stable-1.4: Changed licence headers to avoid conflicts with the GPL; restricted licence to GPLv2 only.
Florian Pose <fp@igh-essen.com>
parents:
1254
diff
changeset
|
19 |
# with the IgH EtherCAT Master; if not, write to the Free Software |
922
fede1d8f5b71
Added the new ethercat comman-line tool with lsec functionality.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
20 |
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
fede1d8f5b71
Added the new ethercat comman-line tool with lsec functionality.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
21 |
# |
1363
11c0b2caa253
Improved and added license headers.
Florian Pose <fp@igh-essen.com>
parents:
1354
diff
changeset
|
22 |
# --- |
2421 | 23 |
# |
1363
11c0b2caa253
Improved and added license headers.
Florian Pose <fp@igh-essen.com>
parents:
1354
diff
changeset
|
24 |
# The license mentioned above concerns the source code only. Using the |
11c0b2caa253
Improved and added license headers.
Florian Pose <fp@igh-essen.com>
parents:
1354
diff
changeset
|
25 |
# EtherCAT technology and brand is only permitted in compliance with the |
1326
ef907b0b5125
merge -c1603 branches/stable-1.4: Changed licence headers to avoid conflicts with the GPL; restricted licence to GPLv2 only.
Florian Pose <fp@igh-essen.com>
parents:
1254
diff
changeset
|
26 |
# industrial property and similar rights of Beckhoff Automation GmbH. |
922
fede1d8f5b71
Added the new ethercat comman-line tool with lsec functionality.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
27 |
# |
1363
11c0b2caa253
Improved and added license headers.
Florian Pose <fp@igh-essen.com>
parents:
1354
diff
changeset
|
28 |
# --- |
11c0b2caa253
Improved and added license headers.
Florian Pose <fp@igh-essen.com>
parents:
1354
diff
changeset
|
29 |
# |
1516
e3b09f847512
Fixed compiler error on --disable-eoe.
Florian Pose <fp@igh-essen.com>
parents:
1514
diff
changeset
|
30 |
# vim: syntax=automake |
1142
59be91dfcbe1
Redesigned command interface.
Florian Pose <fp@igh-essen.com>
parents:
1134
diff
changeset
|
31 |
# |
922
fede1d8f5b71
Added the new ethercat comman-line tool with lsec functionality.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
32 |
#------------------------------------------------------------------------------ |
fede1d8f5b71
Added the new ethercat comman-line tool with lsec functionality.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
33 |
|
1516
e3b09f847512
Fixed compiler error on --disable-eoe.
Florian Pose <fp@igh-essen.com>
parents:
1514
diff
changeset
|
34 |
EXTRA_DIST = |
e3b09f847512
Fixed compiler error on --disable-eoe.
Florian Pose <fp@igh-essen.com>
parents:
1514
diff
changeset
|
35 |
|
922
fede1d8f5b71
Added the new ethercat comman-line tool with lsec functionality.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
36 |
bin_PROGRAMS = ethercat |
fede1d8f5b71
Added the new ethercat comman-line tool with lsec functionality.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
37 |
|
fede1d8f5b71
Added the new ethercat comman-line tool with lsec functionality.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
38 |
ethercat_SOURCES = \ |
1877
7b77000f9764
Included list of common SoE error messages.
Florian Pose <fp@igh-essen.com>
parents:
1868
diff
changeset
|
39 |
../master/soe_errors.c \ |
1168
b4c464c54a46
Added noinst_HEADERS variable.
Florian Pose <fp@igh-essen.com>
parents:
1165
diff
changeset
|
40 |
Command.cpp \ |
1142
59be91dfcbe1
Redesigned command interface.
Florian Pose <fp@igh-essen.com>
parents:
1134
diff
changeset
|
41 |
CommandAlias.cpp \ |
2666
d9e14a0ddbd6
New tool command 'ethercat crc'.
Florian Pose <fp@igh-essen.com>
parents:
2421
diff
changeset
|
42 |
CommandCrc.cpp \ |
1826
ec6223c3b7ec
Multi-master support for command-line tool. The --master option supports
Florian Pose <fp@igh-essen.com>
parents:
1528
diff
changeset
|
43 |
CommandCStruct.cpp \ |
1142
59be91dfcbe1
Redesigned command interface.
Florian Pose <fp@igh-essen.com>
parents:
1134
diff
changeset
|
44 |
CommandConfig.cpp \ |
59be91dfcbe1
Redesigned command interface.
Florian Pose <fp@igh-essen.com>
parents:
1134
diff
changeset
|
45 |
CommandData.cpp \ |
59be91dfcbe1
Redesigned command interface.
Florian Pose <fp@igh-essen.com>
parents:
1134
diff
changeset
|
46 |
CommandDebug.cpp \ |
59be91dfcbe1
Redesigned command interface.
Florian Pose <fp@igh-essen.com>
parents:
1134
diff
changeset
|
47 |
CommandDomains.cpp \ |
59be91dfcbe1
Redesigned command interface.
Florian Pose <fp@igh-essen.com>
parents:
1134
diff
changeset
|
48 |
CommandDownload.cpp \ |
1335
09c6fce1ae45
merge -c1616 branches/1.4-foe: Included FoE patch from Olav Zarges.
Florian Pose <fp@igh-essen.com>
parents:
1326
diff
changeset
|
49 |
CommandFoeRead.cpp \ |
09c6fce1ae45
merge -c1616 branches/1.4-foe: Included FoE patch from Olav Zarges.
Florian Pose <fp@igh-essen.com>
parents:
1326
diff
changeset
|
50 |
CommandFoeWrite.cpp \ |
1422
d41e4537b75f
Added 'ethercat graph' command.
Florian Pose <fp@igh-essen.com>
parents:
1389
diff
changeset
|
51 |
CommandGraph.cpp \ |
1142
59be91dfcbe1
Redesigned command interface.
Florian Pose <fp@igh-essen.com>
parents:
1134
diff
changeset
|
52 |
CommandMaster.cpp \ |
59be91dfcbe1
Redesigned command interface.
Florian Pose <fp@igh-essen.com>
parents:
1134
diff
changeset
|
53 |
CommandPdos.cpp \ |
1388
3c886ec376f5
Renamed phy_ commands to reg_.
Florian Pose <fp@igh-essen.com>
parents:
1363
diff
changeset
|
54 |
CommandRegRead.cpp \ |
3c886ec376f5
Renamed phy_ commands to reg_.
Florian Pose <fp@igh-essen.com>
parents:
1363
diff
changeset
|
55 |
CommandRegWrite.cpp \ |
1961 | 56 |
CommandRescan.cpp \ |
1142
59be91dfcbe1
Redesigned command interface.
Florian Pose <fp@igh-essen.com>
parents:
1134
diff
changeset
|
57 |
CommandSdos.cpp \ |
59be91dfcbe1
Redesigned command interface.
Florian Pose <fp@igh-essen.com>
parents:
1134
diff
changeset
|
58 |
CommandSiiRead.cpp \ |
59be91dfcbe1
Redesigned command interface.
Florian Pose <fp@igh-essen.com>
parents:
1134
diff
changeset
|
59 |
CommandSiiWrite.cpp \ |
59be91dfcbe1
Redesigned command interface.
Florian Pose <fp@igh-essen.com>
parents:
1134
diff
changeset
|
60 |
CommandSlaves.cpp \ |
1831
1875b9fea0ba
Implemented reading Sercos-over-EtherCAT services. To be continued...
Florian Pose <fp@igh-essen.com>
parents:
1826
diff
changeset
|
61 |
CommandSoeRead.cpp \ |
1837
32136215c1fa
Implemented SoE write state machine and soe_write command.
Florian Pose <fp@igh-essen.com>
parents:
1835
diff
changeset
|
62 |
CommandSoeWrite.cpp \ |
1142
59be91dfcbe1
Redesigned command interface.
Florian Pose <fp@igh-essen.com>
parents:
1134
diff
changeset
|
63 |
CommandStates.cpp \ |
59be91dfcbe1
Redesigned command interface.
Florian Pose <fp@igh-essen.com>
parents:
1134
diff
changeset
|
64 |
CommandUpload.cpp \ |
1165
c5d6e28eec91
Added 'ethercat version' command.
Florian Pose <fp@igh-essen.com>
parents:
1142
diff
changeset
|
65 |
CommandVersion.cpp \ |
1142
59be91dfcbe1
Redesigned command interface.
Florian Pose <fp@igh-essen.com>
parents:
1134
diff
changeset
|
66 |
CommandXml.cpp \ |
1835
20748e9d2238
Sourced out data type handling into an own class.
Florian Pose <fp@igh-essen.com>
parents:
1831
diff
changeset
|
67 |
DataTypeHandler.cpp \ |
1335
09c6fce1ae45
merge -c1616 branches/1.4-foe: Included FoE patch from Olav Zarges.
Florian Pose <fp@igh-essen.com>
parents:
1326
diff
changeset
|
68 |
FoeCommand.cpp \ |
1168
b4c464c54a46
Added noinst_HEADERS variable.
Florian Pose <fp@igh-essen.com>
parents:
1165
diff
changeset
|
69 |
MasterDevice.cpp \ |
1826
ec6223c3b7ec
Multi-master support for command-line tool. The --master option supports
Florian Pose <fp@igh-essen.com>
parents:
1528
diff
changeset
|
70 |
NumberListParser.cpp \ |
1184
75cd6681eb08
Introduced SdoCommand class to replace coe_datatypes.[ch]; added CoE abort codes in user space-
Florian Pose <fp@igh-essen.com>
parents:
1168
diff
changeset
|
71 |
SdoCommand.cpp \ |
1868
489ea0becd74
Implemented SoE IDN parser for strings like 'P-0-0150'; moved data type
Florian Pose <fp@igh-essen.com>
parents:
1837
diff
changeset
|
72 |
SoeCommand.cpp \ |
1168
b4c464c54a46
Added noinst_HEADERS variable.
Florian Pose <fp@igh-essen.com>
parents:
1165
diff
changeset
|
73 |
main.cpp \ |
b4c464c54a46
Added noinst_HEADERS variable.
Florian Pose <fp@igh-essen.com>
parents:
1165
diff
changeset
|
74 |
sii_crc.cpp |
b4c464c54a46
Added noinst_HEADERS variable.
Florian Pose <fp@igh-essen.com>
parents:
1165
diff
changeset
|
75 |
|
1516
e3b09f847512
Fixed compiler error on --disable-eoe.
Florian Pose <fp@igh-essen.com>
parents:
1514
diff
changeset
|
76 |
if ENABLE_EOE |
e3b09f847512
Fixed compiler error on --disable-eoe.
Florian Pose <fp@igh-essen.com>
parents:
1514
diff
changeset
|
77 |
ethercat_SOURCES += CommandEoe.cpp |
e3b09f847512
Fixed compiler error on --disable-eoe.
Florian Pose <fp@igh-essen.com>
parents:
1514
diff
changeset
|
78 |
else |
e3b09f847512
Fixed compiler error on --disable-eoe.
Florian Pose <fp@igh-essen.com>
parents:
1514
diff
changeset
|
79 |
EXTRA_DIST += CommandEoe.cpp |
e3b09f847512
Fixed compiler error on --disable-eoe.
Florian Pose <fp@igh-essen.com>
parents:
1514
diff
changeset
|
80 |
endif |
e3b09f847512
Fixed compiler error on --disable-eoe.
Florian Pose <fp@igh-essen.com>
parents:
1514
diff
changeset
|
81 |
|
1168
b4c464c54a46
Added noinst_HEADERS variable.
Florian Pose <fp@igh-essen.com>
parents:
1165
diff
changeset
|
82 |
noinst_HEADERS = \ |
b4c464c54a46
Added noinst_HEADERS variable.
Florian Pose <fp@igh-essen.com>
parents:
1165
diff
changeset
|
83 |
Command.h \ |
b4c464c54a46
Added noinst_HEADERS variable.
Florian Pose <fp@igh-essen.com>
parents:
1165
diff
changeset
|
84 |
CommandAlias.h \ |
2666
d9e14a0ddbd6
New tool command 'ethercat crc'.
Florian Pose <fp@igh-essen.com>
parents:
2421
diff
changeset
|
85 |
CommandCrc.h \ |
1826
ec6223c3b7ec
Multi-master support for command-line tool. The --master option supports
Florian Pose <fp@igh-essen.com>
parents:
1528
diff
changeset
|
86 |
CommandCStruct.h \ |
1168
b4c464c54a46
Added noinst_HEADERS variable.
Florian Pose <fp@igh-essen.com>
parents:
1165
diff
changeset
|
87 |
CommandConfig.h \ |
b4c464c54a46
Added noinst_HEADERS variable.
Florian Pose <fp@igh-essen.com>
parents:
1165
diff
changeset
|
88 |
CommandData.h \ |
b4c464c54a46
Added noinst_HEADERS variable.
Florian Pose <fp@igh-essen.com>
parents:
1165
diff
changeset
|
89 |
CommandDebug.h \ |
b4c464c54a46
Added noinst_HEADERS variable.
Florian Pose <fp@igh-essen.com>
parents:
1165
diff
changeset
|
90 |
CommandDomains.h \ |
b4c464c54a46
Added noinst_HEADERS variable.
Florian Pose <fp@igh-essen.com>
parents:
1165
diff
changeset
|
91 |
CommandDownload.h \ |
1335
09c6fce1ae45
merge -c1616 branches/1.4-foe: Included FoE patch from Olav Zarges.
Florian Pose <fp@igh-essen.com>
parents:
1326
diff
changeset
|
92 |
CommandFoeRead.h \ |
09c6fce1ae45
merge -c1616 branches/1.4-foe: Included FoE patch from Olav Zarges.
Florian Pose <fp@igh-essen.com>
parents:
1326
diff
changeset
|
93 |
CommandFoeWrite.h \ |
1422
d41e4537b75f
Added 'ethercat graph' command.
Florian Pose <fp@igh-essen.com>
parents:
1389
diff
changeset
|
94 |
CommandGraph.h \ |
1168
b4c464c54a46
Added noinst_HEADERS variable.
Florian Pose <fp@igh-essen.com>
parents:
1165
diff
changeset
|
95 |
CommandMaster.h \ |
b4c464c54a46
Added noinst_HEADERS variable.
Florian Pose <fp@igh-essen.com>
parents:
1165
diff
changeset
|
96 |
CommandPdos.h \ |
1388
3c886ec376f5
Renamed phy_ commands to reg_.
Florian Pose <fp@igh-essen.com>
parents:
1363
diff
changeset
|
97 |
CommandRegRead.h \ |
3c886ec376f5
Renamed phy_ commands to reg_.
Florian Pose <fp@igh-essen.com>
parents:
1363
diff
changeset
|
98 |
CommandRegWrite.h \ |
1961 | 99 |
CommandRescan.h \ |
1168
b4c464c54a46
Added noinst_HEADERS variable.
Florian Pose <fp@igh-essen.com>
parents:
1165
diff
changeset
|
100 |
CommandSdos.h \ |
b4c464c54a46
Added noinst_HEADERS variable.
Florian Pose <fp@igh-essen.com>
parents:
1165
diff
changeset
|
101 |
CommandSiiRead.h \ |
b4c464c54a46
Added noinst_HEADERS variable.
Florian Pose <fp@igh-essen.com>
parents:
1165
diff
changeset
|
102 |
CommandSiiWrite.h \ |
b4c464c54a46
Added noinst_HEADERS variable.
Florian Pose <fp@igh-essen.com>
parents:
1165
diff
changeset
|
103 |
CommandSlaves.h \ |
1831
1875b9fea0ba
Implemented reading Sercos-over-EtherCAT services. To be continued...
Florian Pose <fp@igh-essen.com>
parents:
1826
diff
changeset
|
104 |
CommandSoeRead.h \ |
1837
32136215c1fa
Implemented SoE write state machine and soe_write command.
Florian Pose <fp@igh-essen.com>
parents:
1835
diff
changeset
|
105 |
CommandSoeWrite.h \ |
1168
b4c464c54a46
Added noinst_HEADERS variable.
Florian Pose <fp@igh-essen.com>
parents:
1165
diff
changeset
|
106 |
CommandStates.h \ |
b4c464c54a46
Added noinst_HEADERS variable.
Florian Pose <fp@igh-essen.com>
parents:
1165
diff
changeset
|
107 |
CommandUpload.h \ |
b4c464c54a46
Added noinst_HEADERS variable.
Florian Pose <fp@igh-essen.com>
parents:
1165
diff
changeset
|
108 |
CommandVersion.h \ |
b4c464c54a46
Added noinst_HEADERS variable.
Florian Pose <fp@igh-essen.com>
parents:
1165
diff
changeset
|
109 |
CommandXml.h \ |
1835
20748e9d2238
Sourced out data type handling into an own class.
Florian Pose <fp@igh-essen.com>
parents:
1831
diff
changeset
|
110 |
DataTypeHandler.h \ |
1335
09c6fce1ae45
merge -c1616 branches/1.4-foe: Included FoE patch from Olav Zarges.
Florian Pose <fp@igh-essen.com>
parents:
1326
diff
changeset
|
111 |
FoeCommand.h \ |
09c6fce1ae45
merge -c1616 branches/1.4-foe: Included FoE patch from Olav Zarges.
Florian Pose <fp@igh-essen.com>
parents:
1326
diff
changeset
|
112 |
MasterDevice.h \ |
1826
ec6223c3b7ec
Multi-master support for command-line tool. The --master option supports
Florian Pose <fp@igh-essen.com>
parents:
1528
diff
changeset
|
113 |
NumberListParser.h \ |
1184
75cd6681eb08
Introduced SdoCommand class to replace coe_datatypes.[ch]; added CoE abort codes in user space-
Florian Pose <fp@igh-essen.com>
parents:
1168
diff
changeset
|
114 |
SdoCommand.h \ |
1868
489ea0becd74
Implemented SoE IDN parser for strings like 'P-0-0150'; moved data type
Florian Pose <fp@igh-essen.com>
parents:
1837
diff
changeset
|
115 |
SoeCommand.h \ |
1168
b4c464c54a46
Added noinst_HEADERS variable.
Florian Pose <fp@igh-essen.com>
parents:
1165
diff
changeset
|
116 |
sii_crc.h |
922
fede1d8f5b71
Added the new ethercat comman-line tool with lsec functionality.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
117 |
|
1516
e3b09f847512
Fixed compiler error on --disable-eoe.
Florian Pose <fp@igh-essen.com>
parents:
1514
diff
changeset
|
118 |
if ENABLE_EOE |
e3b09f847512
Fixed compiler error on --disable-eoe.
Florian Pose <fp@igh-essen.com>
parents:
1514
diff
changeset
|
119 |
noinst_HEADERS += CommandEoe.h |
e3b09f847512
Fixed compiler error on --disable-eoe.
Florian Pose <fp@igh-essen.com>
parents:
1514
diff
changeset
|
120 |
else |
e3b09f847512
Fixed compiler error on --disable-eoe.
Florian Pose <fp@igh-essen.com>
parents:
1514
diff
changeset
|
121 |
EXTRA_DIST += CommandEoe.h |
e3b09f847512
Fixed compiler error on --disable-eoe.
Florian Pose <fp@igh-essen.com>
parents:
1514
diff
changeset
|
122 |
endif |
e3b09f847512
Fixed compiler error on --disable-eoe.
Florian Pose <fp@igh-essen.com>
parents:
1514
diff
changeset
|
123 |
|
1528
dbc617badc33
Switched from Subversion to Mercurial.
Florian Pose <fp@igh-essen.com>
parents:
1516
diff
changeset
|
124 |
REV = `if test -s $(top_srcdir)/revision; then \ |
dbc617badc33
Switched from Subversion to Mercurial.
Florian Pose <fp@igh-essen.com>
parents:
1516
diff
changeset
|
125 |
cat $(top_srcdir)/revision; \ |
1165
c5d6e28eec91
Added 'ethercat version' command.
Florian Pose <fp@igh-essen.com>
parents:
1142
diff
changeset
|
126 |
else \ |
1528
dbc617badc33
Switched from Subversion to Mercurial.
Florian Pose <fp@igh-essen.com>
parents:
1516
diff
changeset
|
127 |
hg id -i $(top_srcdir) 2>/dev/null || echo "unknown"; \ |
1165
c5d6e28eec91
Added 'ethercat version' command.
Florian Pose <fp@igh-essen.com>
parents:
1142
diff
changeset
|
128 |
fi` |
c5d6e28eec91
Added 'ethercat version' command.
Florian Pose <fp@igh-essen.com>
parents:
1142
diff
changeset
|
129 |
|
1835
20748e9d2238
Sourced out data type handling into an own class.
Florian Pose <fp@igh-essen.com>
parents:
1831
diff
changeset
|
130 |
ethercat_CXXFLAGS = \ |
20748e9d2238
Sourced out data type handling into an own class.
Florian Pose <fp@igh-essen.com>
parents:
1831
diff
changeset
|
131 |
-I$(top_srcdir)/include \ |
20748e9d2238
Sourced out data type handling into an own class.
Florian Pose <fp@igh-essen.com>
parents:
1831
diff
changeset
|
132 |
-I$(top_srcdir)/master \ |
1975
8e173dddd183
Improved compiling on 2.6.34 (thanks to Malcolm Lewis).
Florian Pose <fp@igh-essen.com>
parents:
1961
diff
changeset
|
133 |
-Wall -DREV=$(REV) \ |
8e173dddd183
Improved compiling on 2.6.34 (thanks to Malcolm Lewis).
Florian Pose <fp@igh-essen.com>
parents:
1961
diff
changeset
|
134 |
-fno-strict-aliasing |
922
fede1d8f5b71
Added the new ethercat comman-line tool with lsec functionality.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
135 |
|
fede1d8f5b71
Added the new ethercat comman-line tool with lsec functionality.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
136 |
#------------------------------------------------------------------------------ |