fp@1565: #------------------------------------------------------------------------------ fp@1565: # fp@1565: # $Id$ fp@1565: # fp@1565: # Copyright (C) 2006-2008 Florian Pose, Ingenieurgemeinschaft IgH fp@1565: # fp@1565: # This file is part of the IgH EtherCAT Master. fp@1565: # fp@1565: # The IgH EtherCAT Master is free software; you can redistribute it and/or fp@1565: # modify it under the terms of the GNU General Public License version 2, as fp@1565: # published by the Free Software Foundation. fp@1565: # fp@1565: # The IgH EtherCAT Master is distributed in the hope that it will be useful, fp@1565: # but WITHOUT ANY WARRANTY; without even the implied warranty of fp@1565: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General fp@1565: # Public License for more details. fp@1565: # fp@1565: # You should have received a copy of the GNU General Public License along fp@1565: # with the IgH EtherCAT Master; if not, write to the Free Software fp@1565: # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA fp@1565: # fp@1565: # --- fp@2421: # fp@1565: # The license mentioned above concerns the source code only. Using the EtherCAT fp@1565: # technology and brand is only permitted in compliance with the industrial fp@1565: # property and similar rights of Beckhoff Automation GmbH. fp@1565: # fp@1565: # --- fp@1565: # fp@1565: # vi: syntax=make fp@1565: # fp@1565: #------------------------------------------------------------------------------ fp@1565: fp@1565: obj-m := ec_tty.o fp@1565: fp@1565: ec_tty-objs := \ fp@1565: module.o fp@1565: fp@1565: REV := $(shell if test -s $(src)/../revision; then \ fp@1565: cat $(src)/../revision; \ fp@1565: else \ fp@1565: hg id -i $(src)/.. 2>/dev/null || echo "unknown"; \ fp@1565: fi) fp@1565: fp@1565: CFLAGS_module.o := -DREV=$(REV) fp@1565: fp@1565: #------------------------------------------------------------------------------