equal
deleted
inserted
replaced
25 # EtherCAT technology and brand is only permitted in compliance with the |
25 # EtherCAT technology and brand is only permitted in compliance with the |
26 # industrial property and similar rights of Beckhoff Automation GmbH. |
26 # industrial property and similar rights of Beckhoff Automation GmbH. |
27 # |
27 # |
28 # --- |
28 # --- |
29 # |
29 # |
30 # vim: syntax=make |
30 # vim: syntax=automake |
31 # |
31 # |
32 #------------------------------------------------------------------------------ |
32 #------------------------------------------------------------------------------ |
|
33 |
|
34 EXTRA_DIST = |
33 |
35 |
34 bin_PROGRAMS = ethercat |
36 bin_PROGRAMS = ethercat |
35 |
37 |
36 ethercat_SOURCES = \ |
38 ethercat_SOURCES = \ |
37 Command.cpp \ |
39 Command.cpp \ |
38 CommandAlias.cpp \ |
40 CommandAlias.cpp \ |
39 CommandConfig.cpp \ |
41 CommandConfig.cpp \ |
|
42 CommandCStruct.cpp \ |
40 CommandData.cpp \ |
43 CommandData.cpp \ |
41 CommandDebug.cpp \ |
44 CommandDebug.cpp \ |
42 CommandDomains.cpp \ |
45 CommandDomains.cpp \ |
43 CommandDownload.cpp \ |
46 CommandDownload.cpp \ |
44 CommandEoe.cpp \ |
|
45 CommandFoeRead.cpp \ |
47 CommandFoeRead.cpp \ |
46 CommandFoeWrite.cpp \ |
48 CommandFoeWrite.cpp \ |
47 CommandGraph.cpp \ |
49 CommandGraph.cpp \ |
48 CommandMaster.cpp \ |
50 CommandMaster.cpp \ |
49 CommandPdos.cpp \ |
51 CommandPdos.cpp \ |
62 MasterDevice.cpp \ |
64 MasterDevice.cpp \ |
63 SdoCommand.cpp \ |
65 SdoCommand.cpp \ |
64 main.cpp \ |
66 main.cpp \ |
65 sii_crc.cpp |
67 sii_crc.cpp |
66 |
68 |
|
69 if ENABLE_EOE |
|
70 ethercat_SOURCES += CommandEoe.cpp |
|
71 else |
|
72 EXTRA_DIST += CommandEoe.cpp |
|
73 endif |
|
74 |
67 noinst_HEADERS = \ |
75 noinst_HEADERS = \ |
68 Command.h \ |
76 Command.h \ |
69 CommandAlias.h \ |
77 CommandAlias.h \ |
70 CommandConfig.h \ |
78 CommandConfig.h \ |
|
79 CommandCStruct.h \ |
71 CommandData.h \ |
80 CommandData.h \ |
72 CommandDebug.h \ |
81 CommandDebug.h \ |
73 CommandDomains.h \ |
82 CommandDomains.h \ |
74 CommandDownload.h \ |
83 CommandDownload.h \ |
75 CommandEoe.h \ |
|
76 CommandFoeRead.h \ |
84 CommandFoeRead.h \ |
77 CommandFoeWrite.h \ |
85 CommandFoeWrite.h \ |
78 CommandGraph.h \ |
86 CommandGraph.h \ |
79 CommandMaster.h \ |
87 CommandMaster.h \ |
80 CommandPdos.h \ |
88 CommandPdos.h \ |
92 FoeCommand.h \ |
100 FoeCommand.h \ |
93 MasterDevice.h \ |
101 MasterDevice.h \ |
94 SdoCommand.h \ |
102 SdoCommand.h \ |
95 sii_crc.h |
103 sii_crc.h |
96 |
104 |
97 REV = `if test -s $(top_srcdir)/svnrevision; then \ |
105 if ENABLE_EOE |
98 cat $(top_srcdir)/svnrevision; \ |
106 noinst_HEADERS += CommandEoe.h |
|
107 else |
|
108 EXTRA_DIST += CommandEoe.h |
|
109 endif |
|
110 |
|
111 REV = `if test -s $(top_srcdir)/revision; then \ |
|
112 cat $(top_srcdir)/revision; \ |
99 else \ |
113 else \ |
100 svnversion $(srcdir)/.. 2>/dev/null || echo "unknown"; \ |
114 hg id -i $(top_srcdir) 2>/dev/null || echo "unknown"; \ |
101 fi` |
115 fi` |
102 |
116 |
103 ethercat_CXXFLAGS = -I$(top_srcdir)/master -Wall -DSVNREV=$(REV) |
117 ethercat_CXXFLAGS = -I$(top_srcdir)/master -Wall -DREV=$(REV) |
104 |
118 |
105 #------------------------------------------------------------------------------ |
119 #------------------------------------------------------------------------------ |