devices/e1000/Makefile.am
author Florian Pose <fp@igh-essen.com>
Wed, 18 Jun 2008 14:37:00 +0000
changeset 1032 748c34ab66b6
parent 898 9fe5df8b3a98
child 1074 a82793a6d1a0
permissions -rw-r--r--
working_counter = 0x0000;
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
#
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     5
#  Copyright (C) 2006  Florian Pose, Ingenieurgemeinschaft IgH
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
#
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     9
#  The IgH EtherCAT Master is free software; you can redistribute it
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    10
#  and/or modify it under the terms of the GNU General Public License
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    11
#  as published by the Free Software Foundation; either version 2 of the
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    12
#  License, or (at your option) any later version.
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    13
#
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    14
#  The IgH EtherCAT Master is distributed in the hope that it will be
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    15
#  useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    16
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    17
#  GNU General Public License for more details.
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    18
#
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    19
#  You should have received a copy of the GNU General Public License
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    20
#  along with the IgH EtherCAT Master; if not, write to the Free Software
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    21
#  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
    22
#
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    23
#  The right to use EtherCAT Technology is granted and comes free of
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    24
#  charge under condition of compatibility of product made by
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    25
#  Licensee. People intending to distribute/sell products based on the
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    26
#  code, have to sign an agreement to guarantee that products using
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    27
#  software based on IgH EtherCAT master stay compatible with the actual
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    28
#  EtherCAT specification (which are released themselves as an open
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    29
#  standard) as the (only) precondition to have the right to use EtherCAT
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    30
#  Technology, IP and trade marks.
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    31
#
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    32
#------------------------------------------------------------------------------
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    33
9feff35c9617 First version with e1000 driver (to be continued...)
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: 681
diff changeset
    35
	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
    36
	LICENSE \
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.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
    38
	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
    39
	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
    40
	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
    41
	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
    42
	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
    43
	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
    44
	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
    45
	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
    46
	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
    47
	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
    48
	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
    49
	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
    50
	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
    51
	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
    52
	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
    53
	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
    54
	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
    55
	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
    56
	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
    57
	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
    58
	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
    59
	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
    60
	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
    61
	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
    62
	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
    63
	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
    64
	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
    65
	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
    66
	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
    67
	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
    68
	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
    69
	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
    70
	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
    71
	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
    72
	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
    73
	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
    74
	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
    75
	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
    76
	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
    77
	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
    78
	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
    79
	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
    80
	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
    81
	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
    82
	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
    83
	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
    84
	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
    85
	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
    86
	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
    87
	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
    88
	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
    89
	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
    90
	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
    91
	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
    92
	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
    93
	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
    94
	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
    95
	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
    96
	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
    97
	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
    98
	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
    99
	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
   100
	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
   101
	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
   102
	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
   103
	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
   104
	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
   105
	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
   106
	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
   107
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
   108
modules:
674
34e5601b2640 Improved Makefiles.
Florian Pose <fp@igh-essen.com>
parents: 673
diff changeset
   109
	$(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
   110
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
   111
modules_install:
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
   112
	mkdir -p $(DESTDIR)$(LINUX_MOD_PATH)
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
   113
if ENABLE_E1000
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
   114
	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
   115
endif
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
   116
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
   117
clean-local:
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
   118
	$(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
   119
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
   120
#------------------------------------------------------------------------------