author | Florian Pose <fp@igh-essen.com> |
Mon, 02 Feb 2009 13:34:01 +0000 | |
changeset 1351 | cf8f08631c8e |
parent 1326 | ef907b0b5125 |
child 1363 | 11c0b2caa253 |
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 |
# |
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
3 |
# IgH EtherCAT master module |
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 |
# $Id$ |
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
6 |
# |
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:
1074
diff
changeset
|
7 |
# Copyright (C) 2006-2008 Florian Pose, Ingenieurgemeinschaft IgH |
364
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 |
# This file is part of the IgH EtherCAT Master. |
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
10 |
# |
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:
1074
diff
changeset
|
11 |
# 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:
1074
diff
changeset
|
12 |
# 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:
1074
diff
changeset
|
13 |
# published by the Free Software Foundation. |
364
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
14 |
# |
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:
1074
diff
changeset
|
15 |
# 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:
1074
diff
changeset
|
16 |
# 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:
1074
diff
changeset
|
17 |
# 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:
1074
diff
changeset
|
18 |
# Public License for more details. |
364
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
19 |
# |
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:
1074
diff
changeset
|
20 |
# 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:
1074
diff
changeset
|
21 |
# 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
|
22 |
# 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
|
23 |
# |
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:
1074
diff
changeset
|
24 |
# Using the EtherCAT technology and brand is permitted in compliance with the |
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:
1074
diff
changeset
|
25 |
# industrial property and similar rights of Beckhoff Automation GmbH. |
364
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
26 |
# |
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 |
|
732
0e6e1ef2b6bc
Removed config.kbuild and replaced Kbuild files by Kbuild.in files.
Florian Pose <fp@igh-essen.com>
parents:
485
diff
changeset
|
29 |
EXTRA_DIST = \ |
0e6e1ef2b6bc
Removed config.kbuild and replaced Kbuild files by Kbuild.in files.
Florian Pose <fp@igh-essen.com>
parents:
485
diff
changeset
|
30 |
Kbuild.in \ |
0e6e1ef2b6bc
Removed config.kbuild and replaced Kbuild files by Kbuild.in files.
Florian Pose <fp@igh-essen.com>
parents:
485
diff
changeset
|
31 |
rtai_sample.c |
393
9cfbb344adc0
Distribution makefile for examples.
Florian Pose <fp@igh-essen.com>
parents:
387
diff
changeset
|
32 |
|
1074
a82793a6d1a0
Added Kbuild files to BUILT_SOURCES in Makefile.am files to create dependencies.
Florian Pose <fp@igh-essen.com>
parents:
732
diff
changeset
|
33 |
BUILT_SOURCES = \ |
a82793a6d1a0
Added Kbuild files to BUILT_SOURCES in Makefile.am files to create dependencies.
Florian Pose <fp@igh-essen.com>
parents:
732
diff
changeset
|
34 |
Kbuild |
a82793a6d1a0
Added Kbuild files to BUILT_SOURCES in Makefile.am files to create dependencies.
Florian Pose <fp@igh-essen.com>
parents:
732
diff
changeset
|
35 |
|
a82793a6d1a0
Added Kbuild files to BUILT_SOURCES in Makefile.am files to create dependencies.
Florian Pose <fp@igh-essen.com>
parents:
732
diff
changeset
|
36 |
modules: |
387 | 37 |
$(MAKE) -C "$(LINUX_SOURCE_DIR)" M="@abs_srcdir@" modules |
364
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
38 |
|
1074
a82793a6d1a0
Added Kbuild files to BUILT_SOURCES in Makefile.am files to create dependencies.
Florian Pose <fp@igh-essen.com>
parents:
732
diff
changeset
|
39 |
modules_install: |
a82793a6d1a0
Added Kbuild files to BUILT_SOURCES in Makefile.am files to create dependencies.
Florian Pose <fp@igh-essen.com>
parents:
732
diff
changeset
|
40 |
mkdir -p $(DESTDIR)$(LINUX_MOD_PATH) |
a82793a6d1a0
Added Kbuild files to BUILT_SOURCES in Makefile.am files to create dependencies.
Florian Pose <fp@igh-essen.com>
parents:
732
diff
changeset
|
41 |
cp $(srcdir)/ec_rtai_sample.ko $(DESTDIR)$(LINUX_MOD_PATH) |
a82793a6d1a0
Added Kbuild files to BUILT_SOURCES in Makefile.am files to create dependencies.
Florian Pose <fp@igh-essen.com>
parents:
732
diff
changeset
|
42 |
|
364
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
43 |
clean-local: |
387 | 44 |
$(MAKE) -C "$(LINUX_SOURCE_DIR)" M="@abs_srcdir@" clean |
364
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
45 |
|
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
46 |
#------------------------------------------------------------------------------ |