author | Florian Pose <fp@igh-essen.com> |
Thu, 13 Mar 2008 12:42:48 +0000 | |
changeset 868 | aaf175ef0171 |
parent 847 | 92266462d411 |
child 879 | 9b395c5646ab |
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 |
# |
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
5 |
# Copyright (C) 2006 Florian Pose, Ingenieurgemeinschaft IgH |
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 |
# |
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
9 |
# The IgH EtherCAT Master is free software; you can redistribute it |
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
10 |
# and/or modify it under the terms of the GNU General Public License |
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
11 |
# as published by the Free Software Foundation; either version 2 of the |
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
12 |
# License, or (at your option) any later version. |
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
13 |
# |
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
14 |
# The IgH EtherCAT Master is distributed in the hope that it will be |
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
15 |
# useful, but WITHOUT ANY WARRANTY; without even the implied warranty of |
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
16 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
17 |
# GNU General Public License for more details. |
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
18 |
# |
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
19 |
# You should have received a copy of the GNU General Public License |
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
20 |
# along with the IgH EtherCAT Master; if not, write to the Free Software |
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
21 |
# 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
|
22 |
# |
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
23 |
# The right to use EtherCAT Technology is granted and comes free of |
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
24 |
# charge under condition of compatibility of product made by |
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
25 |
# Licensee. People intending to distribute/sell products based on the |
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
26 |
# code, have to sign an agreement to guarantee that products using |
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
27 |
# software based on IgH EtherCAT master stay compatible with the actual |
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
28 |
# EtherCAT specification (which are released themselves as an open |
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
29 |
# standard) as the (only) precondition to have the right to use EtherCAT |
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
30 |
# Technology, IP and trade marks. |
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
31 |
# |
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
32 |
#------------------------------------------------------------------------------ |
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
33 |
|
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
34 |
EXTRA_DIST = \ |
732
0e6e1ef2b6bc
Removed config.kbuild and replaced Kbuild files by Kbuild.in files.
Florian Pose <fp@igh-essen.com>
parents:
674
diff
changeset
|
35 |
Kbuild.in \ |
364
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
36 |
datagram.c datagram.h \ |
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
37 |
debug.c debug.h \ |
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
38 |
device.c device.h \ |
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
39 |
domain.c domain.h \ |
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
40 |
doxygen.c \ |
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
41 |
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
|
42 |
fmmu_config.c fmmu_config.h \ |
434
0180d8277311
Layed out state change state machine.
Florian Pose <fp@igh-essen.com>
parents:
433
diff
changeset
|
43 |
fsm_change.c fsm_change.h \ |
436
63214beb641d
Layed out CoE state machine.
Florian Pose <fp@igh-essen.com>
parents:
434
diff
changeset
|
44 |
fsm_coe.c fsm_coe.h \ |
761
f1a23fd26052
merge -r969:970 branches/stable-1.3 -> trunk (fsm_coe_map.[ch] to dist)
Florian Pose <fp@igh-essen.com>
parents:
732
diff
changeset
|
45 |
fsm_coe_map.c fsm_coe_map.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
|
46 |
fsm_master.c fsm_master.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
|
47 |
fsm_pdo_config.c fsm_pdo_config.h \ |
802
b947d0b09f9a
Renamed ec_fsm_mapping_t to ec_fsm_pdo_mapping_t.
Florian Pose <fp@igh-essen.com>
parents:
799
diff
changeset
|
48 |
fsm_pdo_mapping.c fsm_pdo_mapping.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
|
49 |
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
|
50 |
fsm_slave_config.c fsm_slave_config.h \ |
830
d83d92e1a919
Separated slave state machines.
Florian Pose <fp@igh-essen.com>
parents:
802
diff
changeset
|
51 |
fsm_slave_scan.c fsm_slave_scan.h \ |
364
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
52 |
globals.h \ |
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 \ |
92266462d411
Saparated ec_sdo_t, ec_sdo_entry_t and ec_sdo_request_t.
Florian Pose <fp@igh-essen.com>
parents:
830
diff
changeset
|
57 |
pdo_mapping.c pdo_mapping.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
|
58 |
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
|
59 |
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
|
60 |
sdo_request.c sdo_request.h \ |
364
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
61 |
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
|
62 |
slave_config.c slave_config.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
|
63 |
sync.c sync.h \ |
364
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
64 |
xmldev.c xmldev.h |
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
65 |
|
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
|
66 |
modules: |
674 | 67 |
$(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
|
68 |
|
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
|
69 |
modules_install: |
536
330f7f8da979
Fixed modules_install target: create dir before copying.
Florian Pose <fp@igh-essen.com>
parents:
528
diff
changeset
|
70 |
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
|
71 |
cp $(srcdir)/ec_master.ko $(DESTDIR)$(LINUX_MOD_PATH) |
364
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
72 |
|
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
73 |
clean-local: |
387 | 74 |
$(MAKE) -C "$(LINUX_SOURCE_DIR)" M="@abs_srcdir@" clean |
364
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
75 |
|
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
76 |
#------------------------------------------------------------------------------ |