examples/dc_rtai/Makefile.am
changeset 1414 0037a63d3cc5
child 1824 bbb70ca26f09
equal deleted inserted replaced
1413:44c2b7c0ae1a 1414:0037a63d3cc5
       
     1 #------------------------------------------------------------------------------
       
     2 #
       
     3 #  IgH EtherCAT master module
       
     4 #
       
     5 #  $Id$
       
     6 #
       
     7 #  Copyright (C) 2006-2008  Florian Pose, Ingenieurgemeinschaft IgH
       
     8 #
       
     9 #  This file is part of the IgH EtherCAT Master.
       
    10 #
       
    11 #  The IgH EtherCAT Master is free software; you can redistribute it and/or
       
    12 #  modify it under the terms of the GNU General Public License version 2, as
       
    13 #  published by the Free Software Foundation.
       
    14 #
       
    15 #  The IgH EtherCAT Master is distributed in the hope that it will be useful,
       
    16 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
       
    17 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
       
    18 #  Public License for more details.
       
    19 #
       
    20 #  You should have received a copy of the GNU General Public License along
       
    21 #  with the IgH EtherCAT Master; if not, write to the Free Software
       
    22 #  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
       
    23 #
       
    24 #  ---
       
    25 #  
       
    26 #  The license mentioned above concerns the source code only. Using the
       
    27 #  EtherCAT technology and brand is only permitted in compliance with the
       
    28 #  industrial property and similar rights of Beckhoff Automation GmbH.
       
    29 #
       
    30 #------------------------------------------------------------------------------
       
    31 
       
    32 EXTRA_DIST = \
       
    33 	Kbuild.in \
       
    34 	dc_rtai_sample.c
       
    35 
       
    36 BUILT_SOURCES = \
       
    37 	Kbuild
       
    38 
       
    39 modules:
       
    40 	$(MAKE) -C "$(LINUX_SOURCE_DIR)" M="@abs_srcdir@" modules
       
    41 
       
    42 modules_install:
       
    43 	mkdir -p $(DESTDIR)$(LINUX_MOD_PATH)
       
    44 	cp $(srcdir)/ec_dc_rtai_sample.ko $(DESTDIR)$(LINUX_MOD_PATH)
       
    45 
       
    46 clean-local:
       
    47 	$(MAKE) -C "$(LINUX_SOURCE_DIR)" M="@abs_srcdir@" clean
       
    48 
       
    49 #------------------------------------------------------------------------------