devices/e1000/Makefile.am
author Florian Pose <fp@igh-essen.com>
Fri, 22 Feb 2008 18:40:41 +0000
changeset 826 70aeae0de217
parent 788 9999ca1a1953
child 898 9fe5df8b3a98
permissions -rw-r--r--
Minor changes.
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 \
680
48c2dbc12bde Added e1000 driver for 2.6.20.
Florian Pose <fp@igh-essen.com>
parents: 674
diff changeset
    36
	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
    37
	e1000_ethtool-2.6.13-orig.c \
681
bcc71748b66c Fixed distribution for e1000.
Florian Pose <fp@igh-essen.com>
parents: 680
diff changeset
    38
	e1000-2.6.13-ethercat.h \
bcc71748b66c Fixed distribution for e1000.
Florian Pose <fp@igh-essen.com>
parents: 680
diff changeset
    39
	e1000-2.6.13-orig.h \
680
48c2dbc12bde Added e1000 driver for 2.6.20.
Florian Pose <fp@igh-essen.com>
parents: 674
diff changeset
    40
	e1000_hw-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_hw-2.6.13-orig.c \
48c2dbc12bde Added e1000 driver for 2.6.20.
Florian Pose <fp@igh-essen.com>
parents: 674
diff changeset
    42
	e1000_hw-2.6.13-ethercat.h \
48c2dbc12bde Added e1000 driver for 2.6.20.
Florian Pose <fp@igh-essen.com>
parents: 674
diff changeset
    43
	e1000_hw-2.6.13-orig.h \
48c2dbc12bde Added e1000 driver for 2.6.20.
Florian Pose <fp@igh-essen.com>
parents: 674
diff changeset
    44
	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
    45
	e1000_main-2.6.13-orig.c \
48c2dbc12bde Added e1000 driver for 2.6.20.
Florian Pose <fp@igh-essen.com>
parents: 674
diff changeset
    46
	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
    47
	e1000_osdep-2.6.13-orig.h \
48c2dbc12bde Added e1000 driver for 2.6.20.
Florian Pose <fp@igh-essen.com>
parents: 674
diff changeset
    48
	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
    49
	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
    50
	e1000_ethtool-2.6.18-ethercat.c \
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    51
	e1000_ethtool-2.6.18-orig.c \
681
bcc71748b66c Fixed distribution for e1000.
Florian Pose <fp@igh-essen.com>
parents: 680
diff changeset
    52
	e1000-2.6.18-ethercat.h \
bcc71748b66c Fixed distribution for e1000.
Florian Pose <fp@igh-essen.com>
parents: 680
diff changeset
    53
	e1000-2.6.18-orig.h \
667
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    54
	e1000_hw-2.6.18-ethercat.c \
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    55
	e1000_hw-2.6.18-orig.c \
672
271d6033314f Made e1000_hw.h and e1000_osdep.h kernel-dependent.
Florian Pose <fp@igh-essen.com>
parents: 667
diff changeset
    56
	e1000_hw-2.6.18-ethercat.h \
271d6033314f Made e1000_hw.h and e1000_osdep.h kernel-dependent.
Florian Pose <fp@igh-essen.com>
parents: 667
diff changeset
    57
	e1000_hw-2.6.18-orig.h \
667
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    58
	e1000_main-2.6.18-ethercat.c \
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    59
	e1000_main-2.6.18-orig.c \
672
271d6033314f Made e1000_hw.h and e1000_osdep.h kernel-dependent.
Florian Pose <fp@igh-essen.com>
parents: 667
diff changeset
    60
	e1000_osdep-2.6.18-ethercat.h \
271d6033314f Made e1000_hw.h and e1000_osdep.h kernel-dependent.
Florian Pose <fp@igh-essen.com>
parents: 667
diff changeset
    61
	e1000_osdep-2.6.18-orig.h \
667
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    62
	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
    63
	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
    64
	e1000_ethtool-2.6.20-ethercat.c \
48c2dbc12bde Added e1000 driver for 2.6.20.
Florian Pose <fp@igh-essen.com>
parents: 674
diff changeset
    65
	e1000_ethtool-2.6.20-orig.c \
681
bcc71748b66c Fixed distribution for e1000.
Florian Pose <fp@igh-essen.com>
parents: 680
diff changeset
    66
	e1000-2.6.20-ethercat.h \
bcc71748b66c Fixed distribution for e1000.
Florian Pose <fp@igh-essen.com>
parents: 680
diff changeset
    67
	e1000-2.6.20-orig.h \
680
48c2dbc12bde Added e1000 driver for 2.6.20.
Florian Pose <fp@igh-essen.com>
parents: 674
diff changeset
    68
	e1000_hw-2.6.20-ethercat.c \
48c2dbc12bde Added e1000 driver for 2.6.20.
Florian Pose <fp@igh-essen.com>
parents: 674
diff changeset
    69
	e1000_hw-2.6.20-orig.c \
48c2dbc12bde Added e1000 driver for 2.6.20.
Florian Pose <fp@igh-essen.com>
parents: 674
diff changeset
    70
	e1000_hw-2.6.20-ethercat.h \
48c2dbc12bde Added e1000 driver for 2.6.20.
Florian Pose <fp@igh-essen.com>
parents: 674
diff changeset
    71
	e1000_hw-2.6.20-orig.h \
48c2dbc12bde Added e1000 driver for 2.6.20.
Florian Pose <fp@igh-essen.com>
parents: 674
diff changeset
    72
	e1000_main-2.6.20-ethercat.c \
48c2dbc12bde Added e1000 driver for 2.6.20.
Florian Pose <fp@igh-essen.com>
parents: 674
diff changeset
    73
	e1000_main-2.6.20-orig.c \
48c2dbc12bde Added e1000 driver for 2.6.20.
Florian Pose <fp@igh-essen.com>
parents: 674
diff changeset
    74
	e1000_osdep-2.6.20-ethercat.h \
48c2dbc12bde Added e1000 driver for 2.6.20.
Florian Pose <fp@igh-essen.com>
parents: 674
diff changeset
    75
	e1000_osdep-2.6.20-orig.h \
48c2dbc12bde Added e1000 driver for 2.6.20.
Florian Pose <fp@igh-essen.com>
parents: 674
diff changeset
    76
	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
    77
	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
    78
	e1000_ethtool-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
    79
	e1000_ethtool-2.6.22-orig.c \
9999ca1a1953 Added e1000 driver for 2.6.22 (not patched yet).
Florian Pose <fp@igh-essen.com>
parents: 732
diff changeset
    80
	e1000-2.6.22-ethercat.h \
9999ca1a1953 Added e1000 driver for 2.6.22 (not patched yet).
Florian Pose <fp@igh-essen.com>
parents: 732
diff changeset
    81
	e1000-2.6.22-orig.h \
9999ca1a1953 Added e1000 driver for 2.6.22 (not patched yet).
Florian Pose <fp@igh-essen.com>
parents: 732
diff changeset
    82
	e1000_hw-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
    83
	e1000_hw-2.6.22-orig.c \
9999ca1a1953 Added e1000 driver for 2.6.22 (not patched yet).
Florian Pose <fp@igh-essen.com>
parents: 732
diff changeset
    84
	e1000_hw-2.6.22-ethercat.h \
9999ca1a1953 Added e1000 driver for 2.6.22 (not patched yet).
Florian Pose <fp@igh-essen.com>
parents: 732
diff changeset
    85
	e1000_hw-2.6.22-orig.h \
9999ca1a1953 Added e1000 driver for 2.6.22 (not patched yet).
Florian Pose <fp@igh-essen.com>
parents: 732
diff changeset
    86
	e1000_main-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
    87
	e1000_main-2.6.22-orig.c \
9999ca1a1953 Added e1000 driver for 2.6.22 (not patched yet).
Florian Pose <fp@igh-essen.com>
parents: 732
diff changeset
    88
	e1000_osdep-2.6.22-ethercat.h \
9999ca1a1953 Added e1000 driver for 2.6.22 (not patched yet).
Florian Pose <fp@igh-essen.com>
parents: 732
diff changeset
    89
	e1000_osdep-2.6.22-orig.h \
9999ca1a1953 Added e1000 driver for 2.6.22 (not patched yet).
Florian Pose <fp@igh-essen.com>
parents: 732
diff changeset
    90
	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
    91
	e1000_param-2.6.22-orig.c \
667
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    92
	LICENSE
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    93
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    94
modules:
674
34e5601b2640 Improved Makefiles.
Florian Pose <fp@igh-essen.com>
parents: 673
diff changeset
    95
	$(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
    96
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    97
modules_install:
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    98
	mkdir -p $(DESTDIR)$(LINUX_MOD_PATH)
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    99
if ENABLE_E1000
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
   100
	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
   101
endif
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
   102
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
   103
clean-local:
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
   104
	$(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
   105
9feff35c9617 First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
   106
#------------------------------------------------------------------------------