fp@2589: #------------------------------------------------------------------------------ fp@2589: # fp@2589: # $Id$ fp@2589: # fp@2589: # Copyright (C) 2006-2008 Florian Pose, Ingenieurgemeinschaft IgH fp@2589: # fp@2589: # This file is part of the IgH EtherCAT Master. fp@2589: # fp@2589: # The IgH EtherCAT Master is free software; you can redistribute it and/or fp@2589: # modify it under the terms of the GNU General Public License version 2, as fp@2589: # published by the Free Software Foundation. fp@2589: # fp@2589: # The IgH EtherCAT Master is distributed in the hope that it will be useful, fp@2589: # but WITHOUT ANY WARRANTY; without even the implied warranty of fp@2589: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General fp@2589: # Public License for more details. fp@2589: # fp@2589: # You should have received a copy of the GNU General Public License along fp@2589: # with the IgH EtherCAT Master; if not, write to the Free Software fp@2589: # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA fp@2589: # fp@2589: # --- fp@2589: # fp@2589: # The license mentioned above concerns the source code only. Using the fp@2589: # EtherCAT technology and brand is only permitted in compliance with the fp@2589: # industrial property and similar rights of Beckhoff Automation GmbH. fp@2589: # fp@2589: # --- fp@2589: # fp@2589: # vim: syntax=make fp@2589: # fp@2589: #------------------------------------------------------------------------------ fp@2589: fp@2589: TOPDIR := $(src)/../.. fp@2589: fp@2589: ifeq (@ENABLE_CCAT@,1) fp@2589: EC_CCAT_OBJ := \ fp@2589: module.o \ fp@2589: netdev.o \ fp@2589: update.o fp@2589: obj-m += ec_ccat.o fp@2589: ec_ccat-objs := $(EC_CCAT_OBJ) fp@2589: CFLAGS_ccat_main-ethercat.o = -DREV=$(REV) fp@2589: endif fp@2589: fp@2589: KBUILD_EXTRA_SYMBOLS := \ fp@2589: @abs_top_builddir@/$(LINUX_SYMVERS) \ fp@2589: @abs_top_builddir@/master/$(LINUX_SYMVERS) fp@2589: fp@2589: #------------------------------------------------------------------------------