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