Distribution makefile for examples.

This commit is contained in:
Florian Pose
2006-10-13 09:39:42 +00:00
parent d916522200
commit 94e1219bab
6 changed files with 56 additions and 24 deletions

View File

@@ -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)` && \

View File

@@ -80,6 +80,7 @@ AC_CONFIG_FILES([
devices/Makefile
script/Makefile
include/Makefile
examples/Makefile
examples/mini/Makefile
examples/rtai/Makefile
examples/msr/Makefile

40
examples/Makefile.am Normal file
View File

@@ -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
#------------------------------------------------------------------------------

View File

@@ -35,6 +35,8 @@
#
#------------------------------------------------------------------------------
EXTRA_DIST = Kbuild mini.c
all:
$(MAKE) -C "$(LINUX_SOURCE_DIR)" M="@abs_srcdir@" modules

View File

@@ -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

View File

@@ -35,6 +35,8 @@
#
#------------------------------------------------------------------------------
EXTRA_DIST = Kbuild rtai_sample.c
all:
$(MAKE) -C "$(LINUX_SOURCE_DIR)" M="@abs_srcdir@" modules