fp@364: #------------------------------------------------------------------------------ fp@364: # fp@364: # $Id$ fp@364: # fp@1326: # Copyright (C) 2006-2008 Florian Pose, Ingenieurgemeinschaft IgH fp@364: # fp@364: # This file is part of the IgH EtherCAT Master. fp@364: # fp@1326: # The IgH EtherCAT Master is free software; you can redistribute it and/or fp@1326: # modify it under the terms of the GNU General Public License version 2, as fp@1326: # published by the Free Software Foundation. fp@364: # fp@1326: # The IgH EtherCAT Master is distributed in the hope that it will be useful, fp@1326: # but WITHOUT ANY WARRANTY; without even the implied warranty of fp@1326: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General fp@1326: # Public License for more details. fp@364: # fp@1326: # You should have received a copy of the GNU General Public License along fp@1326: # 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@1363: # --- fp@1363: # fp@1363: # The license mentioned above concerns the source code only. Using the EtherCAT fp@1363: # technology and brand is only permitted in compliance with the industrial fp@1363: # property and similar rights of Beckhoff Automation GmbH. fp@1363: # fp@1363: # --- fp@364: # fp@892: # vi: syntax=make fp@892: # fp@364: #------------------------------------------------------------------------------ fp@364: fp@364: obj-m := ec_master.o fp@364: fp@847: ec_master-objs := \ fp@922: cdev.o \ fp@1074: datagram.o \ fp@1074: device.o \ fp@1074: domain.o \ fp@1074: fmmu_config.o \ fp@1335: foe_request.o \ fp@1074: fsm_change.o \ fp@1074: fsm_coe.o \ fp@1335: fsm_foe.o \ fp@1074: fsm_master.o \ fp@1174: fsm_pdo.o \ fp@1174: fsm_pdo_entry.o \ fp@1074: fsm_sii.o \ fp@1831: fsm_slave.o \ fp@1074: fsm_slave_config.o \ fp@1074: fsm_slave_scan.o \ fp@1831: fsm_soe.o \ fp@1074: mailbox.o \ fp@1074: master.o \ fp@1074: module.o \ fp@1074: pdo.o \ fp@1074: pdo_entry.o \ fp@1074: pdo_list.o \ fp@1074: sdo.o \ fp@1074: sdo_entry.o \ fp@1074: sdo_request.o \ fp@1074: slave.o \ fp@1074: slave_config.o \ fp@1831: soe_request.o \ fp@1074: sync.o \ fp@1209: sync_config.o \ fp@1209: voe_handler.o fp@392: fp@732: ifeq (@ENABLE_EOE@,1) fp@715: ec_master-objs += ethernet.o fp@715: endif fp@732: ifeq (@ENABLE_DEBUG_IF@,1) fp@392: ec_master-objs += debug.o fp@392: endif fp@364: fp@1528: REV := $(shell if test -s $(src)/../revision; then \ fp@1528: cat $(src)/../revision; \ fp@366: else \ fp@1528: hg id -i $(src)/.. 2>/dev/null || echo "unknown"; \ fp@366: fi) fp@364: fp@1528: CFLAGS_module.o := -DREV=$(REV) fp@364: fp@364: #------------------------------------------------------------------------------