devices/e1000/Makefile.am
author Florian Pose <fp@igh-essen.com>
Mon, 29 Dec 2008 16:00:44 +0000
branchstable-1.4
changeset 1693 14e9266295a7
parent 1685 399ef727bf62
child 1360 afcea72f0040
permissions -rw-r--r--
Version 1.4.0.
667
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     1
#------------------------------------------------------------------------------
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     2
#
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     3
#  $Id$
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     4
#
1685
399ef727bf62 Changed licence headers to avoid conflicts with the GPL; restricted licence to GPLv2 only.
Florian Pose <fp@igh-essen.com>
parents: 1074
diff changeset
     5
#  Copyright (C) 2006-2008  Florian Pose, Ingenieurgemeinschaft IgH
667
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     6
#
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     7
#  This file is part of the IgH EtherCAT Master.
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     8
#
1685
399ef727bf62 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
#  The IgH EtherCAT Master is free software; you can redistribute it and/or
399ef727bf62 Changed licence headers to avoid conflicts with the GPL; restricted licence to GPLv2 only.
Florian Pose <fp@igh-essen.com>
parents: 1074
diff changeset
    10
#  modify it under the terms of the GNU General Public License version 2, as
399ef727bf62 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
#  published by the Free Software Foundation.
667
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    12
#
1685
399ef727bf62 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 distributed in the hope that it will be useful,
399ef727bf62 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
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
399ef727bf62 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
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
399ef727bf62 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
#  Public License for more details.
667
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    17
#
1685
399ef727bf62 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
#  You should have received a copy of the GNU General Public License along
399ef727bf62 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
#  with the IgH EtherCAT Master; if not, write to the Free Software
667
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    20
#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    21
#
1685
399ef727bf62 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
#  Using the EtherCAT technology and brand is permitted in compliance with the
399ef727bf62 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
#  industrial property and similar rights of Beckhoff Automation GmbH.
667
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    24
#
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    25
#------------------------------------------------------------------------------
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    26
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    27
EXTRA_DIST = \
732
0e6e1ef2b6bc Removed config.kbuild and replaced Kbuild files by Kbuild.in files.
Florian Pose <fp@igh-essen.com>
parents: 681
diff changeset
    28
	Kbuild.in \
898
9fe5df8b3a98 Added support for e1000 2.6.24, thanks to Matthias Luescher.
Florian Pose <fp@igh-essen.com>
parents: 788
diff changeset
    29
	LICENSE \
9fe5df8b3a98 Added support for e1000 2.6.24, thanks to Matthias Luescher.
Florian Pose <fp@igh-essen.com>
parents: 788
diff changeset
    30
	e1000-2.6.13-ethercat.h \
9fe5df8b3a98 Added support for e1000 2.6.24, thanks to Matthias Luescher.
Florian Pose <fp@igh-essen.com>
parents: 788
diff changeset
    31
	e1000-2.6.13-orig.h \
9fe5df8b3a98 Added support for e1000 2.6.24, thanks to Matthias Luescher.
Florian Pose <fp@igh-essen.com>
parents: 788
diff changeset
    32
	e1000-2.6.18-ethercat.h \
9fe5df8b3a98 Added support for e1000 2.6.24, thanks to Matthias Luescher.
Florian Pose <fp@igh-essen.com>
parents: 788
diff changeset
    33
	e1000-2.6.18-orig.h \
9fe5df8b3a98 Added support for e1000 2.6.24, thanks to Matthias Luescher.
Florian Pose <fp@igh-essen.com>
parents: 788
diff changeset
    34
	e1000-2.6.20-ethercat.h \
9fe5df8b3a98 Added support for e1000 2.6.24, thanks to Matthias Luescher.
Florian Pose <fp@igh-essen.com>
parents: 788
diff changeset
    35
	e1000-2.6.20-orig.h \
9fe5df8b3a98 Added support for e1000 2.6.24, thanks to Matthias Luescher.
Florian Pose <fp@igh-essen.com>
parents: 788
diff changeset
    36
	e1000-2.6.22-ethercat.h \
9fe5df8b3a98 Added support for e1000 2.6.24, thanks to Matthias Luescher.
Florian Pose <fp@igh-essen.com>
parents: 788
diff changeset
    37
	e1000-2.6.22-orig.h \
9fe5df8b3a98 Added support for e1000 2.6.24, thanks to Matthias Luescher.
Florian Pose <fp@igh-essen.com>
parents: 788
diff changeset
    38
	e1000-2.6.24-ethercat.h \
9fe5df8b3a98 Added support for e1000 2.6.24, thanks to Matthias Luescher.
Florian Pose <fp@igh-essen.com>
parents: 788
diff changeset
    39
	e1000-2.6.24-orig.h \
680
48c2dbc12bde Added e1000 driver for 2.6.20.
Florian Pose <fp@igh-essen.com>
parents: 674
diff changeset
    40
	e1000_ethtool-2.6.13-ethercat.c \
48c2dbc12bde Added e1000 driver for 2.6.20.
Florian Pose <fp@igh-essen.com>
parents: 674
diff changeset
    41
	e1000_ethtool-2.6.13-orig.c \
898
9fe5df8b3a98 Added support for e1000 2.6.24, thanks to Matthias Luescher.
Florian Pose <fp@igh-essen.com>
parents: 788
diff changeset
    42
	e1000_ethtool-2.6.18-ethercat.c \
9fe5df8b3a98 Added support for e1000 2.6.24, thanks to Matthias Luescher.
Florian Pose <fp@igh-essen.com>
parents: 788
diff changeset
    43
	e1000_ethtool-2.6.18-orig.c \
9fe5df8b3a98 Added support for e1000 2.6.24, thanks to Matthias Luescher.
Florian Pose <fp@igh-essen.com>
parents: 788
diff changeset
    44
	e1000_ethtool-2.6.20-ethercat.c \
9fe5df8b3a98 Added support for e1000 2.6.24, thanks to Matthias Luescher.
Florian Pose <fp@igh-essen.com>
parents: 788
diff changeset
    45
	e1000_ethtool-2.6.20-orig.c \
9fe5df8b3a98 Added support for e1000 2.6.24, thanks to Matthias Luescher.
Florian Pose <fp@igh-essen.com>
parents: 788
diff changeset
    46
	e1000_ethtool-2.6.22-ethercat.c \
9fe5df8b3a98 Added support for e1000 2.6.24, thanks to Matthias Luescher.
Florian Pose <fp@igh-essen.com>
parents: 788
diff changeset
    47
	e1000_ethtool-2.6.22-orig.c \
9fe5df8b3a98 Added support for e1000 2.6.24, thanks to Matthias Luescher.
Florian Pose <fp@igh-essen.com>
parents: 788
diff changeset
    48
	e1000_ethtool-2.6.24-ethercat.c \
9fe5df8b3a98 Added support for e1000 2.6.24, thanks to Matthias Luescher.
Florian Pose <fp@igh-essen.com>
parents: 788
diff changeset
    49
	e1000_ethtool-2.6.24-orig.c \
680
48c2dbc12bde Added e1000 driver for 2.6.20.
Florian Pose <fp@igh-essen.com>
parents: 674
diff changeset
    50
	e1000_hw-2.6.13-ethercat.c \
898
9fe5df8b3a98 Added support for e1000 2.6.24, thanks to Matthias Luescher.
Florian Pose <fp@igh-essen.com>
parents: 788
diff changeset
    51
	e1000_hw-2.6.13-ethercat.h \
680
48c2dbc12bde Added e1000 driver for 2.6.20.
Florian Pose <fp@igh-essen.com>
parents: 674
diff changeset
    52
	e1000_hw-2.6.13-orig.c \
48c2dbc12bde Added e1000 driver for 2.6.20.
Florian Pose <fp@igh-essen.com>
parents: 674
diff changeset
    53
	e1000_hw-2.6.13-orig.h \
898
9fe5df8b3a98 Added support for e1000 2.6.24, thanks to Matthias Luescher.
Florian Pose <fp@igh-essen.com>
parents: 788
diff changeset
    54
	e1000_hw-2.6.18-ethercat.c \
9fe5df8b3a98 Added support for e1000 2.6.24, thanks to Matthias Luescher.
Florian Pose <fp@igh-essen.com>
parents: 788
diff changeset
    55
	e1000_hw-2.6.18-ethercat.h \
9fe5df8b3a98 Added support for e1000 2.6.24, thanks to Matthias Luescher.
Florian Pose <fp@igh-essen.com>
parents: 788
diff changeset
    56
	e1000_hw-2.6.18-orig.c \
9fe5df8b3a98 Added support for e1000 2.6.24, thanks to Matthias Luescher.
Florian Pose <fp@igh-essen.com>
parents: 788
diff changeset
    57
	e1000_hw-2.6.18-orig.h \
9fe5df8b3a98 Added support for e1000 2.6.24, thanks to Matthias Luescher.
Florian Pose <fp@igh-essen.com>
parents: 788
diff changeset
    58
	e1000_hw-2.6.20-ethercat.c \
9fe5df8b3a98 Added support for e1000 2.6.24, thanks to Matthias Luescher.
Florian Pose <fp@igh-essen.com>
parents: 788
diff changeset
    59
	e1000_hw-2.6.20-ethercat.h \
9fe5df8b3a98 Added support for e1000 2.6.24, thanks to Matthias Luescher.
Florian Pose <fp@igh-essen.com>
parents: 788
diff changeset
    60
	e1000_hw-2.6.20-orig.c \
9fe5df8b3a98 Added support for e1000 2.6.24, thanks to Matthias Luescher.
Florian Pose <fp@igh-essen.com>
parents: 788
diff changeset
    61
	e1000_hw-2.6.20-orig.h \
9fe5df8b3a98 Added support for e1000 2.6.24, thanks to Matthias Luescher.
Florian Pose <fp@igh-essen.com>
parents: 788
diff changeset
    62
	e1000_hw-2.6.22-ethercat.c \
9fe5df8b3a98 Added support for e1000 2.6.24, thanks to Matthias Luescher.
Florian Pose <fp@igh-essen.com>
parents: 788
diff changeset
    63
	e1000_hw-2.6.22-ethercat.h \
9fe5df8b3a98 Added support for e1000 2.6.24, thanks to Matthias Luescher.
Florian Pose <fp@igh-essen.com>
parents: 788
diff changeset
    64
	e1000_hw-2.6.22-orig.c \
9fe5df8b3a98 Added support for e1000 2.6.24, thanks to Matthias Luescher.
Florian Pose <fp@igh-essen.com>
parents: 788
diff changeset
    65
	e1000_hw-2.6.22-orig.h \
9fe5df8b3a98 Added support for e1000 2.6.24, thanks to Matthias Luescher.
Florian Pose <fp@igh-essen.com>
parents: 788
diff changeset
    66
	e1000_hw-2.6.24-ethercat.c \
9fe5df8b3a98 Added support for e1000 2.6.24, thanks to Matthias Luescher.
Florian Pose <fp@igh-essen.com>
parents: 788
diff changeset
    67
	e1000_hw-2.6.24-ethercat.h \
9fe5df8b3a98 Added support for e1000 2.6.24, thanks to Matthias Luescher.
Florian Pose <fp@igh-essen.com>
parents: 788
diff changeset
    68
	e1000_hw-2.6.24-orig.c \
9fe5df8b3a98 Added support for e1000 2.6.24, thanks to Matthias Luescher.
Florian Pose <fp@igh-essen.com>
parents: 788
diff changeset
    69
	e1000_hw-2.6.24-orig.h \
680
48c2dbc12bde Added e1000 driver for 2.6.20.
Florian Pose <fp@igh-essen.com>
parents: 674
diff changeset
    70
	e1000_main-2.6.13-ethercat.c \
48c2dbc12bde Added e1000 driver for 2.6.20.
Florian Pose <fp@igh-essen.com>
parents: 674
diff changeset
    71
	e1000_main-2.6.13-orig.c \
898
9fe5df8b3a98 Added support for e1000 2.6.24, thanks to Matthias Luescher.
Florian Pose <fp@igh-essen.com>
parents: 788
diff changeset
    72
	e1000_main-2.6.18-ethercat.c \
9fe5df8b3a98 Added support for e1000 2.6.24, thanks to Matthias Luescher.
Florian Pose <fp@igh-essen.com>
parents: 788
diff changeset
    73
	e1000_main-2.6.18-orig.c \
9fe5df8b3a98 Added support for e1000 2.6.24, thanks to Matthias Luescher.
Florian Pose <fp@igh-essen.com>
parents: 788
diff changeset
    74
	e1000_main-2.6.20-ethercat.c \
9fe5df8b3a98 Added support for e1000 2.6.24, thanks to Matthias Luescher.
Florian Pose <fp@igh-essen.com>
parents: 788
diff changeset
    75
	e1000_main-2.6.20-orig.c \
9fe5df8b3a98 Added support for e1000 2.6.24, thanks to Matthias Luescher.
Florian Pose <fp@igh-essen.com>
parents: 788
diff changeset
    76
	e1000_main-2.6.22-ethercat.c \
9fe5df8b3a98 Added support for e1000 2.6.24, thanks to Matthias Luescher.
Florian Pose <fp@igh-essen.com>
parents: 788
diff changeset
    77
	e1000_main-2.6.22-orig.c \
9fe5df8b3a98 Added support for e1000 2.6.24, thanks to Matthias Luescher.
Florian Pose <fp@igh-essen.com>
parents: 788
diff changeset
    78
	e1000_main-2.6.24-ethercat.c \
9fe5df8b3a98 Added support for e1000 2.6.24, thanks to Matthias Luescher.
Florian Pose <fp@igh-essen.com>
parents: 788
diff changeset
    79
	e1000_main-2.6.24-orig.c \
680
48c2dbc12bde Added e1000 driver for 2.6.20.
Florian Pose <fp@igh-essen.com>
parents: 674
diff changeset
    80
	e1000_osdep-2.6.13-ethercat.h \
48c2dbc12bde Added e1000 driver for 2.6.20.
Florian Pose <fp@igh-essen.com>
parents: 674
diff changeset
    81
	e1000_osdep-2.6.13-orig.h \
898
9fe5df8b3a98 Added support for e1000 2.6.24, thanks to Matthias Luescher.
Florian Pose <fp@igh-essen.com>
parents: 788
diff changeset
    82
	e1000_osdep-2.6.18-ethercat.h \
9fe5df8b3a98 Added support for e1000 2.6.24, thanks to Matthias Luescher.
Florian Pose <fp@igh-essen.com>
parents: 788
diff changeset
    83
	e1000_osdep-2.6.18-orig.h \
9fe5df8b3a98 Added support for e1000 2.6.24, thanks to Matthias Luescher.
Florian Pose <fp@igh-essen.com>
parents: 788
diff changeset
    84
	e1000_osdep-2.6.20-ethercat.h \
9fe5df8b3a98 Added support for e1000 2.6.24, thanks to Matthias Luescher.
Florian Pose <fp@igh-essen.com>
parents: 788
diff changeset
    85
	e1000_osdep-2.6.20-orig.h \
9fe5df8b3a98 Added support for e1000 2.6.24, thanks to Matthias Luescher.
Florian Pose <fp@igh-essen.com>
parents: 788
diff changeset
    86
	e1000_osdep-2.6.22-ethercat.h \
9fe5df8b3a98 Added support for e1000 2.6.24, thanks to Matthias Luescher.
Florian Pose <fp@igh-essen.com>
parents: 788
diff changeset
    87
	e1000_osdep-2.6.22-orig.h \
9fe5df8b3a98 Added support for e1000 2.6.24, thanks to Matthias Luescher.
Florian Pose <fp@igh-essen.com>
parents: 788
diff changeset
    88
	e1000_osdep-2.6.24-ethercat.h \
9fe5df8b3a98 Added support for e1000 2.6.24, thanks to Matthias Luescher.
Florian Pose <fp@igh-essen.com>
parents: 788
diff changeset
    89
	e1000_osdep-2.6.24-orig.h \
680
48c2dbc12bde Added e1000 driver for 2.6.20.
Florian Pose <fp@igh-essen.com>
parents: 674
diff changeset
    90
	e1000_param-2.6.13-ethercat.c \
48c2dbc12bde Added e1000 driver for 2.6.20.
Florian Pose <fp@igh-essen.com>
parents: 674
diff changeset
    91
	e1000_param-2.6.13-orig.c \
667
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    92
	e1000_param-2.6.18-ethercat.c \
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    93
	e1000_param-2.6.18-orig.c \
680
48c2dbc12bde Added e1000 driver for 2.6.20.
Florian Pose <fp@igh-essen.com>
parents: 674
diff changeset
    94
	e1000_param-2.6.20-ethercat.c \
48c2dbc12bde Added e1000 driver for 2.6.20.
Florian Pose <fp@igh-essen.com>
parents: 674
diff changeset
    95
	e1000_param-2.6.20-orig.c \
788
9999ca1a1953 Added e1000 driver for 2.6.22 (not patched yet).
Florian Pose <fp@igh-essen.com>
parents: 732
diff changeset
    96
	e1000_param-2.6.22-ethercat.c \
9999ca1a1953 Added e1000 driver for 2.6.22 (not patched yet).
Florian Pose <fp@igh-essen.com>
parents: 732
diff changeset
    97
	e1000_param-2.6.22-orig.c \
898
9fe5df8b3a98 Added support for e1000 2.6.24, thanks to Matthias Luescher.
Florian Pose <fp@igh-essen.com>
parents: 788
diff changeset
    98
	e1000_param-2.6.24-ethercat.c \
9fe5df8b3a98 Added support for e1000 2.6.24, thanks to Matthias Luescher.
Florian Pose <fp@igh-essen.com>
parents: 788
diff changeset
    99
	e1000_param-2.6.24-orig.c
667
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
   100
1074
a82793a6d1a0 Added Kbuild files to BUILT_SOURCES in Makefile.am files to create dependencies.
Florian Pose <fp@igh-essen.com>
parents: 898
diff changeset
   101
BUILT_SOURCES = \
a82793a6d1a0 Added Kbuild files to BUILT_SOURCES in Makefile.am files to create dependencies.
Florian Pose <fp@igh-essen.com>
parents: 898
diff changeset
   102
	Kbuild
a82793a6d1a0 Added Kbuild files to BUILT_SOURCES in Makefile.am files to create dependencies.
Florian Pose <fp@igh-essen.com>
parents: 898
diff changeset
   103
667
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
   104
modules:
674
34e5601b2640 Improved Makefiles.
Florian Pose <fp@igh-essen.com>
parents: 673
diff changeset
   105
	$(MAKE) -C "@abs_top_srcdir@" modules
667
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
   106
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
   107
modules_install:
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
   108
	mkdir -p $(DESTDIR)$(LINUX_MOD_PATH)
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
   109
if ENABLE_E1000
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
   110
	cp $(srcdir)/ec_e1000.ko $(DESTDIR)$(LINUX_MOD_PATH)
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
   111
endif
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
   112
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
   113
clean-local:
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
   114
	$(MAKE) -C "$(LINUX_SOURCE_DIR)" M="@abs_srcdir@" clean
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
   115
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
   116
#------------------------------------------------------------------------------