author | Florian Pose <fp@igh-essen.com> |
Wed, 18 Feb 2009 13:47:08 +0000 | |
changeset 1355 | df9be2b80b9a |
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 |
# Makefile.am |
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 |
# IgH EtherCAT master module |
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 |
# $Id$ |
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:
1074
diff
changeset
|
9 |
# Copyright (C) 2006-2008 Florian Pose, Ingenieurgemeinschaft IgH |
364
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
10 |
# |
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
11 |
# This file is part of the IgH EtherCAT Master. |
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:
1074
diff
changeset
|
13 |
# 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
|
14 |
# 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
|
15 |
# published by the Free Software Foundation. |
364
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
16 |
# |
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
|
17 |
# 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
|
18 |
# 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
|
19 |
# 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
|
20 |
# Public License for more details. |
364
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
21 |
# |
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
|
22 |
# 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
|
23 |
# 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
|
24 |
# 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
|
25 |
# |
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
|
26 |
# 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
|
27 |
# industrial property and similar rights of Beckhoff Automation GmbH. |
364
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 |
#------------------------------------------------------------------------------ |
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
30 |
|
732
0e6e1ef2b6bc
Removed config.kbuild and replaced Kbuild files by Kbuild.in files.
Florian Pose <fp@igh-essen.com>
parents:
477
diff
changeset
|
31 |
EXTRA_DIST = \ |
0e6e1ef2b6bc
Removed config.kbuild and replaced Kbuild files by Kbuild.in files.
Florian Pose <fp@igh-essen.com>
parents:
477
diff
changeset
|
32 |
Kbuild.in \ |
0e6e1ef2b6bc
Removed config.kbuild and replaced Kbuild files by Kbuild.in files.
Florian Pose <fp@igh-essen.com>
parents:
477
diff
changeset
|
33 |
mini.c |
393
9cfbb344adc0
Distribution makefile for examples.
Florian Pose <fp@igh-essen.com>
parents:
387
diff
changeset
|
34 |
|
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
|
35 |
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
|
36 |
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
|
37 |
|
a82793a6d1a0
Added Kbuild files to BUILT_SOURCES in Makefile.am files to create dependencies.
Florian Pose <fp@igh-essen.com>
parents:
732
diff
changeset
|
38 |
modules: |
387 | 39 |
$(MAKE) -C "$(LINUX_SOURCE_DIR)" M="@abs_srcdir@" modules |
364
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
40 |
|
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
|
41 |
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
|
42 |
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
|
43 |
cp $(srcdir)/ec_mini.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
|
44 |
|
364
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
45 |
clean-local: |
387 | 46 |
$(MAKE) -C "$(LINUX_SOURCE_DIR)" M="@abs_srcdir@" clean |
364
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
47 |
|
9028b20e3c12
EtherCAT master with Autotools.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
48 |
#------------------------------------------------------------------------------ |