devices/ccat/Makefile.am
author Florian Pose <fp@igh.de>
Fri, 08 Sep 2017 13:50:06 +0200
branchstable-1.5
changeset 2684 56587a22d05c
parent 2636 0613017547fe
permissions -rw-r--r--
Do not build GPIO part of CCAT if GPIO is not configured in kernel.
2549
933a1b36b05f Add ccat driver for Beckhoff CCAT communication controller in Beckhoff CX20xx device
Patrick Bruenn <p.bruenn@beckhoff.com>
parents:
diff changeset
     1
#------------------------------------------------------------------------------
933a1b36b05f Add ccat driver for Beckhoff CCAT communication controller in Beckhoff CX20xx device
Patrick Bruenn <p.bruenn@beckhoff.com>
parents:
diff changeset
     2
#
933a1b36b05f Add ccat driver for Beckhoff CCAT communication controller in Beckhoff CX20xx device
Patrick Bruenn <p.bruenn@beckhoff.com>
parents:
diff changeset
     3
#  $Id$
933a1b36b05f Add ccat driver for Beckhoff CCAT communication controller in Beckhoff CX20xx device
Patrick Bruenn <p.bruenn@beckhoff.com>
parents:
diff changeset
     4
#
933a1b36b05f Add ccat driver for Beckhoff CCAT communication controller in Beckhoff CX20xx device
Patrick Bruenn <p.bruenn@beckhoff.com>
parents:
diff changeset
     5
#  Copyright (C) 2006-2008  Florian Pose, Ingenieurgemeinschaft IgH
933a1b36b05f Add ccat driver for Beckhoff CCAT communication controller in Beckhoff CX20xx device
Patrick Bruenn <p.bruenn@beckhoff.com>
parents:
diff changeset
     6
#
933a1b36b05f Add ccat driver for Beckhoff CCAT communication controller in Beckhoff CX20xx device
Patrick Bruenn <p.bruenn@beckhoff.com>
parents:
diff changeset
     7
#  This file is part of the IgH EtherCAT Master.
933a1b36b05f Add ccat driver for Beckhoff CCAT communication controller in Beckhoff CX20xx device
Patrick Bruenn <p.bruenn@beckhoff.com>
parents:
diff changeset
     8
#
933a1b36b05f Add ccat driver for Beckhoff CCAT communication controller in Beckhoff CX20xx device
Patrick Bruenn <p.bruenn@beckhoff.com>
parents:
diff changeset
     9
#  The IgH EtherCAT Master is free software; you can redistribute it and/or
933a1b36b05f Add ccat driver for Beckhoff CCAT communication controller in Beckhoff CX20xx device
Patrick Bruenn <p.bruenn@beckhoff.com>
parents:
diff changeset
    10
#  modify it under the terms of the GNU General Public License version 2, as
933a1b36b05f Add ccat driver for Beckhoff CCAT communication controller in Beckhoff CX20xx device
Patrick Bruenn <p.bruenn@beckhoff.com>
parents:
diff changeset
    11
#  published by the Free Software Foundation.
933a1b36b05f Add ccat driver for Beckhoff CCAT communication controller in Beckhoff CX20xx device
Patrick Bruenn <p.bruenn@beckhoff.com>
parents:
diff changeset
    12
#
933a1b36b05f Add ccat driver for Beckhoff CCAT communication controller in Beckhoff CX20xx device
Patrick Bruenn <p.bruenn@beckhoff.com>
parents:
diff changeset
    13
#  The IgH EtherCAT Master is distributed in the hope that it will be useful,
933a1b36b05f Add ccat driver for Beckhoff CCAT communication controller in Beckhoff CX20xx device
Patrick Bruenn <p.bruenn@beckhoff.com>
parents:
diff changeset
    14
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
933a1b36b05f Add ccat driver for Beckhoff CCAT communication controller in Beckhoff CX20xx device
Patrick Bruenn <p.bruenn@beckhoff.com>
parents:
diff changeset
    15
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
933a1b36b05f Add ccat driver for Beckhoff CCAT communication controller in Beckhoff CX20xx device
Patrick Bruenn <p.bruenn@beckhoff.com>
parents:
diff changeset
    16
#  Public License for more details.
933a1b36b05f Add ccat driver for Beckhoff CCAT communication controller in Beckhoff CX20xx device
Patrick Bruenn <p.bruenn@beckhoff.com>
parents:
diff changeset
    17
#
933a1b36b05f Add ccat driver for Beckhoff CCAT communication controller in Beckhoff CX20xx device
Patrick Bruenn <p.bruenn@beckhoff.com>
parents:
diff changeset
    18
#  You should have received a copy of the GNU General Public License along
933a1b36b05f Add ccat driver for Beckhoff CCAT communication controller in Beckhoff CX20xx device
Patrick Bruenn <p.bruenn@beckhoff.com>
parents:
diff changeset
    19
#  with the IgH EtherCAT Master; if not, write to the Free Software
933a1b36b05f Add ccat driver for Beckhoff CCAT communication controller in Beckhoff CX20xx device
Patrick Bruenn <p.bruenn@beckhoff.com>
parents:
diff changeset
    20
#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
933a1b36b05f Add ccat driver for Beckhoff CCAT communication controller in Beckhoff CX20xx device
Patrick Bruenn <p.bruenn@beckhoff.com>
parents:
diff changeset
    21
#
933a1b36b05f Add ccat driver for Beckhoff CCAT communication controller in Beckhoff CX20xx device
Patrick Bruenn <p.bruenn@beckhoff.com>
parents:
diff changeset
    22
#  ---
933a1b36b05f Add ccat driver for Beckhoff CCAT communication controller in Beckhoff CX20xx device
Patrick Bruenn <p.bruenn@beckhoff.com>
parents:
diff changeset
    23
#
933a1b36b05f Add ccat driver for Beckhoff CCAT communication controller in Beckhoff CX20xx device
Patrick Bruenn <p.bruenn@beckhoff.com>
parents:
diff changeset
    24
#  The license mentioned above concerns the source code only. Using the
933a1b36b05f Add ccat driver for Beckhoff CCAT communication controller in Beckhoff CX20xx device
Patrick Bruenn <p.bruenn@beckhoff.com>
parents:
diff changeset
    25
#  EtherCAT technology and brand is only permitted in compliance with the
933a1b36b05f Add ccat driver for Beckhoff CCAT communication controller in Beckhoff CX20xx device
Patrick Bruenn <p.bruenn@beckhoff.com>
parents:
diff changeset
    26
#  industrial property and similar rights of Beckhoff Automation GmbH.
933a1b36b05f Add ccat driver for Beckhoff CCAT communication controller in Beckhoff CX20xx device
Patrick Bruenn <p.bruenn@beckhoff.com>
parents:
diff changeset
    27
#
933a1b36b05f Add ccat driver for Beckhoff CCAT communication controller in Beckhoff CX20xx device
Patrick Bruenn <p.bruenn@beckhoff.com>
parents:
diff changeset
    28
#------------------------------------------------------------------------------
933a1b36b05f Add ccat driver for Beckhoff CCAT communication controller in Beckhoff CX20xx device
Patrick Bruenn <p.bruenn@beckhoff.com>
parents:
diff changeset
    29
933a1b36b05f Add ccat driver for Beckhoff CCAT communication controller in Beckhoff CX20xx device
Patrick Bruenn <p.bruenn@beckhoff.com>
parents:
diff changeset
    30
EXTRA_DIST = \
933a1b36b05f Add ccat driver for Beckhoff CCAT communication controller in Beckhoff CX20xx device
Patrick Bruenn <p.bruenn@beckhoff.com>
parents:
diff changeset
    31
	Kbuild.in \
2636
0613017547fe update ccat driver to v0.13
Patrick Bruenn <p.bruenn@beckhoff.com>
parents: 2569
diff changeset
    32
	gpio.h \
2549
933a1b36b05f Add ccat driver for Beckhoff CCAT communication controller in Beckhoff CX20xx device
Patrick Bruenn <p.bruenn@beckhoff.com>
parents:
diff changeset
    33
	module.h \
933a1b36b05f Add ccat driver for Beckhoff CCAT communication controller in Beckhoff CX20xx device
Patrick Bruenn <p.bruenn@beckhoff.com>
parents:
diff changeset
    34
	netdev.h \
2636
0613017547fe update ccat driver to v0.13
Patrick Bruenn <p.bruenn@beckhoff.com>
parents: 2569
diff changeset
    35
	sram.h \
2549
933a1b36b05f Add ccat driver for Beckhoff CCAT communication controller in Beckhoff CX20xx device
Patrick Bruenn <p.bruenn@beckhoff.com>
parents:
diff changeset
    36
	update.h
933a1b36b05f Add ccat driver for Beckhoff CCAT communication controller in Beckhoff CX20xx device
Patrick Bruenn <p.bruenn@beckhoff.com>
parents:
diff changeset
    37
933a1b36b05f Add ccat driver for Beckhoff CCAT communication controller in Beckhoff CX20xx device
Patrick Bruenn <p.bruenn@beckhoff.com>
parents:
diff changeset
    38
BUILT_SOURCES = \
933a1b36b05f Add ccat driver for Beckhoff CCAT communication controller in Beckhoff CX20xx device
Patrick Bruenn <p.bruenn@beckhoff.com>
parents:
diff changeset
    39
	Kbuild
933a1b36b05f Add ccat driver for Beckhoff CCAT communication controller in Beckhoff CX20xx device
Patrick Bruenn <p.bruenn@beckhoff.com>
parents:
diff changeset
    40
933a1b36b05f Add ccat driver for Beckhoff CCAT communication controller in Beckhoff CX20xx device
Patrick Bruenn <p.bruenn@beckhoff.com>
parents:
diff changeset
    41
modules:
933a1b36b05f Add ccat driver for Beckhoff CCAT communication controller in Beckhoff CX20xx device
Patrick Bruenn <p.bruenn@beckhoff.com>
parents:
diff changeset
    42
	$(MAKE) -C "$(LINUX_SOURCE_DIR)" M="@abs_srcdir@" modules
933a1b36b05f Add ccat driver for Beckhoff CCAT communication controller in Beckhoff CX20xx device
Patrick Bruenn <p.bruenn@beckhoff.com>
parents:
diff changeset
    43
933a1b36b05f Add ccat driver for Beckhoff CCAT communication controller in Beckhoff CX20xx device
Patrick Bruenn <p.bruenn@beckhoff.com>
parents:
diff changeset
    44
modules_install:
933a1b36b05f Add ccat driver for Beckhoff CCAT communication controller in Beckhoff CX20xx device
Patrick Bruenn <p.bruenn@beckhoff.com>
parents:
diff changeset
    45
	$(MAKE) -C "$(LINUX_SOURCE_DIR)" M="@abs_srcdir@" \
933a1b36b05f Add ccat driver for Beckhoff CCAT communication controller in Beckhoff CX20xx device
Patrick Bruenn <p.bruenn@beckhoff.com>
parents:
diff changeset
    46
		INSTALL_MOD_DIR="$(INSTALL_MOD_DIR)" modules_install
933a1b36b05f Add ccat driver for Beckhoff CCAT communication controller in Beckhoff CX20xx device
Patrick Bruenn <p.bruenn@beckhoff.com>
parents:
diff changeset
    47
933a1b36b05f Add ccat driver for Beckhoff CCAT communication controller in Beckhoff CX20xx device
Patrick Bruenn <p.bruenn@beckhoff.com>
parents:
diff changeset
    48
clean-local:
933a1b36b05f Add ccat driver for Beckhoff CCAT communication controller in Beckhoff CX20xx device
Patrick Bruenn <p.bruenn@beckhoff.com>
parents:
diff changeset
    49
	$(MAKE) -C "$(LINUX_SOURCE_DIR)" M="@abs_srcdir@" clean
933a1b36b05f Add ccat driver for Beckhoff CCAT communication controller in Beckhoff CX20xx device
Patrick Bruenn <p.bruenn@beckhoff.com>
parents:
diff changeset
    50
933a1b36b05f Add ccat driver for Beckhoff CCAT communication controller in Beckhoff CX20xx device
Patrick Bruenn <p.bruenn@beckhoff.com>
parents:
diff changeset
    51
#------------------------------------------------------------------------------