fp@364: #------------------------------------------------------------------------------
fp@364: #
fp@768: #  $Id$
fp@364: #
fp@364: #  Copyright (C) 2006  Florian Pose, Ingenieurgemeinschaft IgH
fp@364: #
fp@364: #  This file is part of the IgH EtherCAT Master.
fp@364: #
fp@364: #  The IgH EtherCAT Master is free software; you can redistribute it
fp@364: #  and/or modify it under the terms of the GNU General Public License
fp@364: #  as published by the Free Software Foundation; either version 2 of the
fp@364: #  License, or (at your option) any later version.
fp@364: #
fp@364: #  The IgH EtherCAT Master is distributed in the hope that it will be
fp@364: #  useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
fp@364: #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
fp@364: #  GNU General Public License for more details.
fp@364: #
fp@364: #  You should have received a copy of the GNU General Public License
fp@364: #  along with the IgH EtherCAT Master; if not, write to the Free Software
fp@364: #  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
fp@364: #
fp@364: #  The right to use EtherCAT Technology is granted and comes free of
fp@364: #  charge under condition of compatibility of product made by
fp@364: #  Licensee. People intending to distribute/sell products based on the
fp@364: #  code, have to sign an agreement to guarantee that products using
fp@364: #  software based on IgH EtherCAT master stay compatible with the actual
fp@364: #  EtherCAT specification (which are released themselves as an open
fp@364: #  standard) as the (only) precondition to have the right to use EtherCAT
fp@364: #  Technology, IP and trade marks.
fp@364: #
fp@364: #------------------------------------------------------------------------------
fp@364: 
fp@667: SUBDIRS = e1000
fp@667: 
fp@667: DIST_SUBDIRS = e1000
fp@667: 
fp@364: EXTRA_DIST = \
fp@473: 	8139too-2.6.13-ethercat.c \
fp@473: 	8139too-2.6.13-orig.c \
fp@473: 	8139too-2.6.17-ethercat.c \
fp@534: 	8139too-2.6.17-orig.c \
fp@532: 	8139too-2.6.18-ethercat.c \
fp@534: 	8139too-2.6.18-orig.c \
fp@534: 	8139too-2.6.19-ethercat.c \
fp@568: 	8139too-2.6.19-orig.c \
fp@774: 	8139too-2.6.22-ethercat.c \
fp@774: 	8139too-2.6.22-orig.c \
ha@828: 	8139too-2.6.23-ethercat.c \
ha@828: 	8139too-2.6.23-orig.c \
fp@897: 	Kbuild.in \
fp@568: 	e100-2.6.18-ethercat.c \
fp@581: 	e100-2.6.18-orig.c \
fp@897: 	ecdev.h \
fp@581: 	forcedeth-2.6.17-ethercat.c \
fp@583: 	forcedeth-2.6.17-orig.c \
fp@583: 	forcedeth-2.6.19-ethercat.c \
fp@913: 	forcedeth-2.6.19-orig.c
fp@364: 
fp@485: modules:
fp@674: 	$(MAKE) -C "@abs_top_srcdir@" modules
fp@485: 
fp@485: modules_install:
fp@536: 	mkdir -p $(DESTDIR)$(LINUX_MOD_PATH)
fp@587: if ENABLE_8139TOO
fp@485: 	cp $(srcdir)/ec_8139too.ko $(DESTDIR)$(LINUX_MOD_PATH)
fp@587: endif
fp@570: if ENABLE_E100
fp@568: 	cp $(srcdir)/ec_e100.ko $(DESTDIR)$(LINUX_MOD_PATH)
fp@570: endif
fp@897: if ENABLE_E1000
fp@897: 	$(MAKE) -C e1000 modules_install
fp@897: endif
fp@581: if ENABLE_FORCEDETH
fp@581: 	cp $(srcdir)/ec_forcedeth.ko $(DESTDIR)$(LINUX_MOD_PATH)
fp@581: endif
fp@897: if ENABLE_R8169
fp@897: 	cp $(srcdir)/ec_r8169.ko $(DESTDIR)$(LINUX_MOD_PATH)
fp@667: endif
fp@364: 
fp@364: clean-local:
fp@387: 	$(MAKE) -C "$(LINUX_SOURCE_DIR)" M="@abs_srcdir@" clean
fp@364: 
fp@364: #------------------------------------------------------------------------------