# HG changeset patch # User Florian Pose # Date 1160732382 0 # Node ID 9cfbb344adc0d02dd3047c54dae0d08624b117e4 # Parent eaee3c8d6ae0eef33751e942fd8240f813a650fa Distribution makefile for examples. diff -r eaee3c8d6ae0 -r 9cfbb344adc0 Makefile.am --- a/Makefile.am Fri Oct 13 09:38:23 2006 +0000 +++ b/Makefile.am Fri Oct 13 09:39:42 2006 +0000 @@ -37,31 +37,9 @@ SUBDIRS = master devices script include -MINI_FILES = \ - examples/mini/Kbuild \ - examples/mini/Makefile.am \ - examples/mini/Makefile.in \ - examples/mini/mini.c +DIST_SUBDIRS = master devices script include examples -RTAI_FILES = \ - examples/rtai/Kbuild \ - examples/rtai/Makefile.am \ - examples/rtai/Makefile.in \ - examples/rtai/rtai_sample.c - -MSR_FILES = \ - examples/msr/Kbuild \ - examples/msr/libm.o_shipped \ - examples/msr/Makefile.am \ - examples/msr/Makefile.in \ - examples/msr/msr_load \ - examples/msr/msr_param.h \ - examples/msr/msr_sample.c \ - examples/msr/msrserv.pl \ - examples/msr/msr_unload - -EXTRA_DIST = documentation/ethercat_doc.pdf \ - $(MINI_FILES) $(RTAI_FILES) $(MSR_FILES) +EXTRA_DIST = documentation/ethercat_doc.pdf mydist: @SVNREV=`svnversion $(srcdir)` && \ diff -r eaee3c8d6ae0 -r 9cfbb344adc0 configure.ac --- a/configure.ac Fri Oct 13 09:38:23 2006 +0000 +++ b/configure.ac Fri Oct 13 09:39:42 2006 +0000 @@ -80,6 +80,7 @@ devices/Makefile script/Makefile include/Makefile + examples/Makefile examples/mini/Makefile examples/rtai/Makefile examples/msr/Makefile diff -r eaee3c8d6ae0 -r 9cfbb344adc0 examples/Makefile.am --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/examples/Makefile.am Fri Oct 13 09:39:42 2006 +0000 @@ -0,0 +1,40 @@ +#------------------------------------------------------------------------------ +# +# Makefile.am +# +# IgH EtherCAT master +# +# $Id: Makefile.am 581 2006-10-09 14:47:48Z fp $ +# +# Copyright (C) 2006 Florian Pose, Ingenieurgemeinschaft IgH +# +# This file is part of the IgH EtherCAT Master. +# +# The IgH EtherCAT Master is free software; you can redistribute it +# and/or modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 of the +# License, or (at your option) any later version. +# +# The IgH EtherCAT Master is distributed in the hope that it will be +# useful, but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with the IgH EtherCAT Master; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +# +# The right to use EtherCAT Technology is granted and comes free of +# charge under condition of compatibility of product made by +# Licensee. People intending to distribute/sell products based on the +# code, have to sign an agreement to guarantee that products using +# software based on IgH EtherCAT master stay compatible with the actual +# EtherCAT specification (which are released themselves as an open +# standard) as the (only) precondition to have the right to use EtherCAT +# Technology, IP and trade marks. +# +#------------------------------------------------------------------------------ + +DIST_SUBDIRS = mini rtai msr + +#------------------------------------------------------------------------------ diff -r eaee3c8d6ae0 -r 9cfbb344adc0 examples/mini/Makefile.am --- a/examples/mini/Makefile.am Fri Oct 13 09:38:23 2006 +0000 +++ b/examples/mini/Makefile.am Fri Oct 13 09:39:42 2006 +0000 @@ -35,6 +35,8 @@ # #------------------------------------------------------------------------------ +EXTRA_DIST = Kbuild mini.c + all: $(MAKE) -C "$(LINUX_SOURCE_DIR)" M="@abs_srcdir@" modules diff -r eaee3c8d6ae0 -r 9cfbb344adc0 examples/msr/Makefile.am --- a/examples/msr/Makefile.am Fri Oct 13 09:38:23 2006 +0000 +++ b/examples/msr/Makefile.am Fri Oct 13 09:39:42 2006 +0000 @@ -35,6 +35,15 @@ # #------------------------------------------------------------------------------ +EXTRA_DIST = \ + Kbuild \ + libm.o_shipped \ + msr_load \ + msr_unload \ + msr_param.h \ + msr_sample.c \ + msrserv.pl + all: $(MAKE) -C "$(LINUX_SOURCE_DIR)" M="@abs_srcdir@" modules diff -r eaee3c8d6ae0 -r 9cfbb344adc0 examples/rtai/Makefile.am --- a/examples/rtai/Makefile.am Fri Oct 13 09:38:23 2006 +0000 +++ b/examples/rtai/Makefile.am Fri Oct 13 09:39:42 2006 +0000 @@ -35,6 +35,8 @@ # #------------------------------------------------------------------------------ +EXTRA_DIST = Kbuild rtai_sample.c + all: $(MAKE) -C "$(LINUX_SOURCE_DIR)" M="@abs_srcdir@" modules