author | Florian Pose <fp@igh-essen.com> |
Wed, 08 Apr 2009 09:29:01 +0000 | |
changeset 1383 | 0c88c50c31e3 |
parent 1363 | 11c0b2caa253 |
child 1453 | 79042b9458b1 |
permissions | -rw-r--r-- |
364
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
1 |
#------------------------------------------------------------------------------ |
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
2 |
# |
768
b709149d5bba
Added missing svn properties.
Florian Pose <fp@igh-essen.com>
parents:
761
diff
changeset
|
3 |
# $Id$ |
364
9028b20e3c12
EtherCAT master with Autotools.
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:
1286
diff
changeset
|
5 |
# Copyright (C) 2006-2008 Florian Pose, Ingenieurgemeinschaft IgH |
364
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
6 |
# |
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
7 |
# This file is part of the IgH EtherCAT Master. |
9028b20e3c12
EtherCAT master with Autotools.
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:
1286
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:
1286
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:
1286
diff
changeset
|
11 |
# published by the Free Software Foundation. |
364
9028b20e3c12
EtherCAT master with Autotools.
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:
1286
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:
1286
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:
1286
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:
1286
diff
changeset
|
16 |
# Public License for more details. |
364
9028b20e3c12
EtherCAT master with Autotools.
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:
1286
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:
1286
diff
changeset
|
19 |
# with the IgH EtherCAT Master; if not, write to the Free Software |
364
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
20 |
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
21 |
# |
1363
11c0b2caa253
Improved and added license headers.
Florian Pose <fp@igh-essen.com>
parents:
1346
diff
changeset
|
22 |
# --- |
11c0b2caa253
Improved and added license headers.
Florian Pose <fp@igh-essen.com>
parents:
1346
diff
changeset
|
23 |
# |
11c0b2caa253
Improved and added license headers.
Florian Pose <fp@igh-essen.com>
parents:
1346
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:
1346
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:
1286
diff
changeset
|
26 |
# industrial property and similar rights of Beckhoff Automation GmbH. |
364
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
27 |
# |
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
28 |
#------------------------------------------------------------------------------ |
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
29 |
|
1286
88e573e033f1
Build examples by default.
Florian Pose <fp@igh-essen.com>
parents:
1209
diff
changeset
|
30 |
# using HEADERS to enable tags target |
1207
8f4dbee1e567
merge -c1434 branches/stable-1.4: Fixed nodist.
Florian Pose <fp@igh-essen.com>
parents:
1195
diff
changeset
|
31 |
noinst_HEADERS = \ |
922
fede1d8f5b71
Added the new ethercat comman-line tool with lsec functionality.
Florian Pose <fp@igh-essen.com>
parents:
921
diff
changeset
|
32 |
cdev.c cdev.h \ |
364
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
33 |
datagram.c datagram.h \ |
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
34 |
debug.c debug.h \ |
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
35 |
device.c device.h \ |
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
36 |
domain.c domain.h \ |
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
37 |
doxygen.c \ |
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
38 |
ethernet.c ethernet.h \ |
847
92266462d411
Saparated ec_sdo_t, ec_sdo_entry_t and ec_sdo_request_t.
Florian Pose <fp@igh-essen.com>
parents:
830
diff
changeset
|
39 |
fmmu_config.c fmmu_config.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
|
40 |
foe.h \ |
1346
eecc75468e08
Added missing files to dist.
Florian Pose <fp@igh-essen.com>
parents:
1335
diff
changeset
|
41 |
foe_request.c foe_request.h \ |
434
0180d8277311
Layed out state change state machine.
Florian Pose <fp@igh-essen.com>
parents:
433
diff
changeset
|
42 |
fsm_change.c fsm_change.h \ |
436
63214beb641d
Layed out CoE state machine.
Florian Pose <fp@igh-essen.com>
parents:
434
diff
changeset
|
43 |
fsm_coe.c fsm_coe.h \ |
1346
eecc75468e08
Added missing files to dist.
Florian Pose <fp@igh-essen.com>
parents:
1335
diff
changeset
|
44 |
fsm_foe.c fsm_foe.h \ |
847
92266462d411
Saparated ec_sdo_t, ec_sdo_entry_t and ec_sdo_request_t.
Florian Pose <fp@igh-essen.com>
parents:
830
diff
changeset
|
45 |
fsm_master.c fsm_master.h \ |
1174
235f34ca50e2
Major Pdo configuration change: Read mapping of unknown Pdos during
Florian Pose <fp@igh-essen.com>
parents:
1074
diff
changeset
|
46 |
fsm_pdo.c fsm_pdo.h \ |
235f34ca50e2
Major Pdo configuration change: Read mapping of unknown Pdos during
Florian Pose <fp@igh-essen.com>
parents:
1074
diff
changeset
|
47 |
fsm_pdo_entry.c fsm_pdo_entry.h \ |
847
92266462d411
Saparated ec_sdo_t, ec_sdo_entry_t and ec_sdo_request_t.
Florian Pose <fp@igh-essen.com>
parents:
830
diff
changeset
|
48 |
fsm_sii.c fsm_sii.h \ |
92266462d411
Saparated ec_sdo_t, ec_sdo_entry_t and ec_sdo_request_t.
Florian Pose <fp@igh-essen.com>
parents:
830
diff
changeset
|
49 |
fsm_slave_config.c fsm_slave_config.h \ |
830
d83d92e1a919
Separated slave state machines.
Florian Pose <fp@igh-essen.com>
parents:
802
diff
changeset
|
50 |
fsm_slave_scan.c fsm_slave_scan.h \ |
364
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
51 |
globals.h \ |
922
fede1d8f5b71
Added the new ethercat comman-line tool with lsec functionality.
Florian Pose <fp@igh-essen.com>
parents:
921
diff
changeset
|
52 |
ioctl.h \ |
364
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
53 |
mailbox.c mailbox.h \ |
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
54 |
master.c master.h \ |
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
55 |
module.c \ |
847
92266462d411
Saparated ec_sdo_t, ec_sdo_entry_t and ec_sdo_request_t.
Florian Pose <fp@igh-essen.com>
parents:
830
diff
changeset
|
56 |
pdo.c pdo.h \ |
933
618ab9e03321
Separated Pdo and Pdo entry classes.
Florian Pose <fp@igh-essen.com>
parents:
922
diff
changeset
|
57 |
pdo_entry.c pdo_entry.h \ |
879
9b395c5646ab
Changed terms "Pdo mapping" -> "Pdo assignment" and "Pdo configuration"
Florian Pose <fp@igh-essen.com>
parents:
847
diff
changeset
|
58 |
pdo_list.c pdo_list.h \ |
847
92266462d411
Saparated ec_sdo_t, ec_sdo_entry_t and ec_sdo_request_t.
Florian Pose <fp@igh-essen.com>
parents:
830
diff
changeset
|
59 |
sdo.c sdo.h \ |
92266462d411
Saparated ec_sdo_t, ec_sdo_entry_t and ec_sdo_request_t.
Florian Pose <fp@igh-essen.com>
parents:
830
diff
changeset
|
60 |
sdo_entry.c sdo_entry.h \ |
92266462d411
Saparated ec_sdo_t, ec_sdo_entry_t and ec_sdo_request_t.
Florian Pose <fp@igh-essen.com>
parents:
830
diff
changeset
|
61 |
sdo_request.c sdo_request.h \ |
364
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
62 |
slave.c slave.h \ |
792
3778920f61e4
Implemented most realtime interface changes for version 1.4, improved
Florian Pose <fp@igh-essen.com>
parents:
768
diff
changeset
|
63 |
slave_config.c slave_config.h \ |
1055
2be8918682fa
Store sync manager configurations in ec_slave_config_t instead of Pdo
Florian Pose <fp@igh-essen.com>
parents:
933
diff
changeset
|
64 |
sync.c sync.h \ |
1209 | 65 |
sync_config.c sync_config.h \ |
66 |
voe_handler.c voe_handler.h |
|
364
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
67 |
|
1286
88e573e033f1
Build examples by default.
Florian Pose <fp@igh-essen.com>
parents:
1209
diff
changeset
|
68 |
EXTRA_DIST = \ |
88e573e033f1
Build examples by default.
Florian Pose <fp@igh-essen.com>
parents:
1209
diff
changeset
|
69 |
Kbuild.in |
88e573e033f1
Build examples by default.
Florian Pose <fp@igh-essen.com>
parents:
1209
diff
changeset
|
70 |
|
1074
a82793a6d1a0
Added Kbuild files to BUILT_SOURCES in Makefile.am files to create dependencies.
Florian Pose <fp@igh-essen.com>
parents:
1055
diff
changeset
|
71 |
BUILT_SOURCES = \ |
a82793a6d1a0
Added Kbuild files to BUILT_SOURCES in Makefile.am files to create dependencies.
Florian Pose <fp@igh-essen.com>
parents:
1055
diff
changeset
|
72 |
Kbuild |
a82793a6d1a0
Added Kbuild files to BUILT_SOURCES in Makefile.am files to create dependencies.
Florian Pose <fp@igh-essen.com>
parents:
1055
diff
changeset
|
73 |
|
485
8354ddf38481
Improved autotools, added config.kbuild, --with-msr-dir, --with-rtai-dir, --with-8139too-kernel.
Florian Pose <fp@igh-essen.com>
parents:
477
diff
changeset
|
74 |
modules: |
674 | 75 |
$(MAKE) -C "@abs_top_srcdir@" modules |
485
8354ddf38481
Improved autotools, added config.kbuild, --with-msr-dir, --with-rtai-dir, --with-8139too-kernel.
Florian Pose <fp@igh-essen.com>
parents:
477
diff
changeset
|
76 |
|
8354ddf38481
Improved autotools, added config.kbuild, --with-msr-dir, --with-rtai-dir, --with-8139too-kernel.
Florian Pose <fp@igh-essen.com>
parents:
477
diff
changeset
|
77 |
modules_install: |
536
330f7f8da979
Fixed modules_install target: create dir before copying.
Florian Pose <fp@igh-essen.com>
parents:
528
diff
changeset
|
78 |
mkdir -p $(DESTDIR)$(LINUX_MOD_PATH) |
485
8354ddf38481
Improved autotools, added config.kbuild, --with-msr-dir, --with-rtai-dir, --with-8139too-kernel.
Florian Pose <fp@igh-essen.com>
parents:
477
diff
changeset
|
79 |
cp $(srcdir)/ec_master.ko $(DESTDIR)$(LINUX_MOD_PATH) |
364
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
80 |
|
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
81 |
clean-local: |
387 | 82 |
$(MAKE) -C "$(LINUX_SOURCE_DIR)" M="@abs_srcdir@" clean |
364
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
83 |
|
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
84 |
#------------------------------------------------------------------------------ |