Distribution makefile for examples.
authorFlorian Pose <fp@igh-essen.com>
Fri, 13 Oct 2006 09:39:42 +0000
changeset 393 9cfbb344adc0
parent 392 eaee3c8d6ae0
child 394 ff1b018a9b09
Distribution makefile for examples.
Makefile.am
configure.ac
examples/Makefile.am
examples/mini/Makefile.am
examples/msr/Makefile.am
examples/rtai/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)` && \
--- 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
--- /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
+
+#------------------------------------------------------------------------------
--- 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
 
--- 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
 
--- 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