examples/Makefile.am
author Florian Pose <fp@igh-essen.com>
Mon, 23 Jul 2012 15:35:32 +0200
changeset 2400 7c9c12c61104
parent 2058 543c4ce9e86e
child 2589 2b9c78543663
permissions -rw-r--r--
Added r8169 driver for 2.6.36, thanks to J. Kunz.
393
9cfbb344adc0 Distribution makefile for examples.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     1
#------------------------------------------------------------------------------
9cfbb344adc0 Distribution makefile for examples.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     2
#
768
b709149d5bba Added missing svn properties.
Florian Pose <fp@igh-essen.com>
parents: 393
diff changeset
     3
#  $Id$
393
9cfbb344adc0 Distribution makefile for examples.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     4
#
1326
ef907b0b5125 merge -c1603 branches/stable-1.4: Changed licence headers to avoid conflicts with the GPL; restricted licence to GPLv2 only.
Florian Pose <fp@igh-essen.com>
parents: 1286
diff changeset
     5
#  Copyright (C) 2006-2008  Florian Pose, Ingenieurgemeinschaft IgH
393
9cfbb344adc0 Distribution makefile for examples.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     6
#
9cfbb344adc0 Distribution makefile for examples.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     7
#  This file is part of the IgH EtherCAT Master.
9cfbb344adc0 Distribution makefile for examples.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     8
#
1326
ef907b0b5125 merge -c1603 branches/stable-1.4: Changed licence headers to avoid conflicts with the GPL; restricted licence to GPLv2 only.
Florian Pose <fp@igh-essen.com>
parents: 1286
diff changeset
     9
#  The IgH EtherCAT Master is free software; you can redistribute it and/or
ef907b0b5125 merge -c1603 branches/stable-1.4: Changed licence headers to avoid conflicts with the GPL; restricted licence to GPLv2 only.
Florian Pose <fp@igh-essen.com>
parents: 1286
diff changeset
    10
#  modify it under the terms of the GNU General Public License version 2, as
ef907b0b5125 merge -c1603 branches/stable-1.4: Changed licence headers to avoid conflicts with the GPL; restricted licence to GPLv2 only.
Florian Pose <fp@igh-essen.com>
parents: 1286
diff changeset
    11
#  published by the Free Software Foundation.
393
9cfbb344adc0 Distribution makefile for examples.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    12
#
1326
ef907b0b5125 merge -c1603 branches/stable-1.4: Changed licence headers to avoid conflicts with the GPL; restricted licence to GPLv2 only.
Florian Pose <fp@igh-essen.com>
parents: 1286
diff changeset
    13
#  The IgH EtherCAT Master is distributed in the hope that it will be useful,
ef907b0b5125 merge -c1603 branches/stable-1.4: Changed licence headers to avoid conflicts with the GPL; restricted licence to GPLv2 only.
Florian Pose <fp@igh-essen.com>
parents: 1286
diff changeset
    14
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
ef907b0b5125 merge -c1603 branches/stable-1.4: Changed licence headers to avoid conflicts with the GPL; restricted licence to GPLv2 only.
Florian Pose <fp@igh-essen.com>
parents: 1286
diff changeset
    15
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
ef907b0b5125 merge -c1603 branches/stable-1.4: Changed licence headers to avoid conflicts with the GPL; restricted licence to GPLv2 only.
Florian Pose <fp@igh-essen.com>
parents: 1286
diff changeset
    16
#  Public License for more details.
393
9cfbb344adc0 Distribution makefile for examples.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    17
#
1326
ef907b0b5125 merge -c1603 branches/stable-1.4: Changed licence headers to avoid conflicts with the GPL; restricted licence to GPLv2 only.
Florian Pose <fp@igh-essen.com>
parents: 1286
diff changeset
    18
#  You should have received a copy of the GNU General Public License along
ef907b0b5125 merge -c1603 branches/stable-1.4: Changed licence headers to avoid conflicts with the GPL; restricted licence to GPLv2 only.
Florian Pose <fp@igh-essen.com>
parents: 1286
diff changeset
    19
#  with the IgH EtherCAT Master; if not, write to the Free Software
393
9cfbb344adc0 Distribution makefile for examples.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    20
#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
9cfbb344adc0 Distribution makefile for examples.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    21
#
1363
11c0b2caa253 Improved and added license headers.
Florian Pose <fp@igh-essen.com>
parents: 1326
diff changeset
    22
#  ---
11c0b2caa253 Improved and added license headers.
Florian Pose <fp@igh-essen.com>
parents: 1326
diff changeset
    23
#  
11c0b2caa253 Improved and added license headers.
Florian Pose <fp@igh-essen.com>
parents: 1326
diff changeset
    24
#  The license mentioned above concerns the source code only. Using the
11c0b2caa253 Improved and added license headers.
Florian Pose <fp@igh-essen.com>
parents: 1326
diff changeset
    25
#  EtherCAT technology and brand is only permitted in compliance with the
1326
ef907b0b5125 merge -c1603 branches/stable-1.4: Changed licence headers to avoid conflicts with the GPL; restricted licence to GPLv2 only.
Florian Pose <fp@igh-essen.com>
parents: 1286
diff changeset
    26
#  industrial property and similar rights of Beckhoff Automation GmbH.
393
9cfbb344adc0 Distribution makefile for examples.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    27
#
9cfbb344adc0 Distribution makefile for examples.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    28
#------------------------------------------------------------------------------
9cfbb344adc0 Distribution makefile for examples.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    29
1613
070b4b420ab1 TTY: Sourced serial device functions out into serial.c/serial.h.
Florian Pose <fp@igh-essen.com>
parents: 1576
diff changeset
    30
SUBDIRS =
070b4b420ab1 TTY: Sourced serial device functions out into serial.c/serial.h.
Florian Pose <fp@igh-essen.com>
parents: 1576
diff changeset
    31
1286
88e573e033f1 Build examples by default.
Florian Pose <fp@igh-essen.com>
parents: 1242
diff changeset
    32
if ENABLE_USERLIB
1613
070b4b420ab1 TTY: Sourced serial device functions out into serial.c/serial.h.
Florian Pose <fp@igh-essen.com>
parents: 1576
diff changeset
    33
SUBDIRS += \
1414
0037a63d3cc5 DC example applications.
Florian Pose <fp@igh-essen.com>
parents: 1363
diff changeset
    34
	dc_user \
0037a63d3cc5 DC example applications.
Florian Pose <fp@igh-essen.com>
parents: 1363
diff changeset
    35
	user
1286
88e573e033f1 Build examples by default.
Florian Pose <fp@igh-essen.com>
parents: 1242
diff changeset
    36
endif
88e573e033f1 Build examples by default.
Florian Pose <fp@igh-essen.com>
parents: 1242
diff changeset
    37
1613
070b4b420ab1 TTY: Sourced serial device functions out into serial.c/serial.h.
Florian Pose <fp@igh-essen.com>
parents: 1576
diff changeset
    38
if ENABLE_TTY
070b4b420ab1 TTY: Sourced serial device functions out into serial.c/serial.h.
Florian Pose <fp@igh-essen.com>
parents: 1576
diff changeset
    39
SUBDIRS += \
070b4b420ab1 TTY: Sourced serial device functions out into serial.c/serial.h.
Florian Pose <fp@igh-essen.com>
parents: 1576
diff changeset
    40
	tty
070b4b420ab1 TTY: Sourced serial device functions out into serial.c/serial.h.
Florian Pose <fp@igh-essen.com>
parents: 1576
diff changeset
    41
endif
070b4b420ab1 TTY: Sourced serial device functions out into serial.c/serial.h.
Florian Pose <fp@igh-essen.com>
parents: 1576
diff changeset
    42
2054
3417bbc4ad2f First working RTDM Version,
Andreas Stewering-Bone <ab@igh-essen.com>
parents: 1613
diff changeset
    43
if ENABLE_RTDM
2058
543c4ce9e86e Working RTAI RTDM module
Andreas Stewering-Bone <ab@igh-essen.com>
parents: 2056
diff changeset
    44
if ENABLE_XENOMAI
2054
3417bbc4ad2f First working RTDM Version,
Andreas Stewering-Bone <ab@igh-essen.com>
parents: 1613
diff changeset
    45
SUBDIRS += \
2056
a92e8f119723 Work on Xenomai Posix interface, to be tested
Andreas Stewering-Bone <ab@igh-essen.com>
parents: 2054
diff changeset
    46
	xenomai \
2058
543c4ce9e86e Working RTAI RTDM module
Andreas Stewering-Bone <ab@igh-essen.com>
parents: 2056
diff changeset
    47
	xenomai_posix 
543c4ce9e86e Working RTAI RTDM module
Andreas Stewering-Bone <ab@igh-essen.com>
parents: 2056
diff changeset
    48
endif
543c4ce9e86e Working RTAI RTDM module
Andreas Stewering-Bone <ab@igh-essen.com>
parents: 2056
diff changeset
    49
543c4ce9e86e Working RTAI RTDM module
Andreas Stewering-Bone <ab@igh-essen.com>
parents: 2056
diff changeset
    50
if ENABLE_RTAI
543c4ce9e86e Working RTAI RTDM module
Andreas Stewering-Bone <ab@igh-essen.com>
parents: 2056
diff changeset
    51
SUBDIRS += \
543c4ce9e86e Working RTAI RTDM module
Andreas Stewering-Bone <ab@igh-essen.com>
parents: 2056
diff changeset
    52
	rtai_rtdm
543c4ce9e86e Working RTAI RTDM module
Andreas Stewering-Bone <ab@igh-essen.com>
parents: 2056
diff changeset
    53
endif
2054
3417bbc4ad2f First working RTDM Version,
Andreas Stewering-Bone <ab@igh-essen.com>
parents: 1613
diff changeset
    54
endif
3417bbc4ad2f First working RTDM Version,
Andreas Stewering-Bone <ab@igh-essen.com>
parents: 1613
diff changeset
    55
1242
632a6b91f8e4 First version of userspace library with requesting/releasing.
Florian Pose <fp@igh-essen.com>
parents: 1080
diff changeset
    56
DIST_SUBDIRS = \
1414
0037a63d3cc5 DC example applications.
Florian Pose <fp@igh-essen.com>
parents: 1363
diff changeset
    57
	dc_rtai \
0037a63d3cc5 DC example applications.
Florian Pose <fp@igh-essen.com>
parents: 1363
diff changeset
    58
	dc_user \
1242
632a6b91f8e4 First version of userspace library with requesting/releasing.
Florian Pose <fp@igh-essen.com>
parents: 1080
diff changeset
    59
	mini \
632a6b91f8e4 First version of userspace library with requesting/releasing.
Florian Pose <fp@igh-essen.com>
parents: 1080
diff changeset
    60
	rtai \
1576
0a3d96138e8b Fixed distribution of TTY example.
Florian Pose <fp@igh-essen.com>
parents: 1414
diff changeset
    61
	tty \
2054
3417bbc4ad2f First working RTDM Version,
Andreas Stewering-Bone <ab@igh-essen.com>
parents: 1613
diff changeset
    62
	xenomai \
2056
a92e8f119723 Work on Xenomai Posix interface, to be tested
Andreas Stewering-Bone <ab@igh-essen.com>
parents: 2054
diff changeset
    63
	xenomai_posix \
2058
543c4ce9e86e Working RTAI RTDM module
Andreas Stewering-Bone <ab@igh-essen.com>
parents: 2056
diff changeset
    64
	rtai_rtdm \
1242
632a6b91f8e4 First version of userspace library with requesting/releasing.
Florian Pose <fp@igh-essen.com>
parents: 1080
diff changeset
    65
	user
393
9cfbb344adc0 Distribution makefile for examples.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    66
1286
88e573e033f1 Build examples by default.
Florian Pose <fp@igh-essen.com>
parents: 1242
diff changeset
    67
EXTRA_DIST = \
88e573e033f1 Build examples by default.
Florian Pose <fp@igh-essen.com>
parents: 1242
diff changeset
    68
	Kbuild.in
88e573e033f1 Build examples by default.
Florian Pose <fp@igh-essen.com>
parents: 1242
diff changeset
    69
88e573e033f1 Build examples by default.
Florian Pose <fp@igh-essen.com>
parents: 1242
diff changeset
    70
BUILT_SOURCES = \
88e573e033f1 Build examples by default.
Florian Pose <fp@igh-essen.com>
parents: 1242
diff changeset
    71
	Kbuild
88e573e033f1 Build examples by default.
Florian Pose <fp@igh-essen.com>
parents: 1242
diff changeset
    72
393
9cfbb344adc0 Distribution makefile for examples.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    73
#------------------------------------------------------------------------------