examples/Makefile.am
author Dave Page <dave.page@gleeble.com>
Mon, 06 Apr 2015 14:58:19 -0400
changeset 2613 7208f4341104
parent 2589 2b9c78543663
permissions -rw-r--r--
Remove unused variable
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
#
2589
2b9c78543663 Reverted default branch to stable-1.5.
Florian Pose <fp@igh-essen.com>
parents: 2058
diff changeset
     5
#  Copyright (C) 2006-2012  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
#  ---
2589
2b9c78543663 Reverted default branch to stable-1.5.
Florian Pose <fp@igh-essen.com>
parents: 2058
diff changeset
    23
#
1363
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 \
2589
2b9c78543663 Reverted default branch to stable-1.5.
Florian Pose <fp@igh-essen.com>
parents: 2058
diff changeset
    47
	xenomai_posix
2058
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 += \
2589
2b9c78543663 Reverted default branch to stable-1.5.
Florian Pose <fp@igh-essen.com>
parents: 2058
diff changeset
    52
	rtai_rtdm \
2b9c78543663 Reverted default branch to stable-1.5.
Florian Pose <fp@igh-essen.com>
parents: 2058
diff changeset
    53
	rtai_rtdm_dc
2058
543c4ce9e86e Working RTAI RTDM module
Andreas Stewering-Bone <ab@igh-essen.com>
parents: 2056
diff changeset
    54
endif
2054
3417bbc4ad2f First working RTDM Version,
Andreas Stewering-Bone <ab@igh-essen.com>
parents: 1613
diff changeset
    55
endif
3417bbc4ad2f First working RTDM Version,
Andreas Stewering-Bone <ab@igh-essen.com>
parents: 1613
diff changeset
    56
1242
632a6b91f8e4 First version of userspace library with requesting/releasing.
Florian Pose <fp@igh-essen.com>
parents: 1080
diff changeset
    57
DIST_SUBDIRS = \
1414
0037a63d3cc5 DC example applications.
Florian Pose <fp@igh-essen.com>
parents: 1363
diff changeset
    58
	dc_rtai \
0037a63d3cc5 DC example applications.
Florian Pose <fp@igh-essen.com>
parents: 1363
diff changeset
    59
	dc_user \
1242
632a6b91f8e4 First version of userspace library with requesting/releasing.
Florian Pose <fp@igh-essen.com>
parents: 1080
diff changeset
    60
	mini \
632a6b91f8e4 First version of userspace library with requesting/releasing.
Florian Pose <fp@igh-essen.com>
parents: 1080
diff changeset
    61
	rtai \
2589
2b9c78543663 Reverted default branch to stable-1.5.
Florian Pose <fp@igh-essen.com>
parents: 2058
diff changeset
    62
	rtai_rtdm \
2b9c78543663 Reverted default branch to stable-1.5.
Florian Pose <fp@igh-essen.com>
parents: 2058
diff changeset
    63
	rtai_rtdm_dc \
1576
0a3d96138e8b Fixed distribution of TTY example.
Florian Pose <fp@igh-essen.com>
parents: 1414
diff changeset
    64
	tty \
2589
2b9c78543663 Reverted default branch to stable-1.5.
Florian Pose <fp@igh-essen.com>
parents: 2058
diff changeset
    65
	user \
2054
3417bbc4ad2f First working RTDM Version,
Andreas Stewering-Bone <ab@igh-essen.com>
parents: 1613
diff changeset
    66
	xenomai \
2589
2b9c78543663 Reverted default branch to stable-1.5.
Florian Pose <fp@igh-essen.com>
parents: 2058
diff changeset
    67
	xenomai_posix
393
9cfbb344adc0 Distribution makefile for examples.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    68
1286
88e573e033f1 Build examples by default.
Florian Pose <fp@igh-essen.com>
parents: 1242
diff changeset
    69
EXTRA_DIST = \
88e573e033f1 Build examples by default.
Florian Pose <fp@igh-essen.com>
parents: 1242
diff changeset
    70
	Kbuild.in
88e573e033f1 Build examples by default.
Florian Pose <fp@igh-essen.com>
parents: 1242
diff changeset
    71
88e573e033f1 Build examples by default.
Florian Pose <fp@igh-essen.com>
parents: 1242
diff changeset
    72
BUILT_SOURCES = \
88e573e033f1 Build examples by default.
Florian Pose <fp@igh-essen.com>
parents: 1242
diff changeset
    73
	Kbuild
88e573e033f1 Build examples by default.
Florian Pose <fp@igh-essen.com>
parents: 1242
diff changeset
    74
393
9cfbb344adc0 Distribution makefile for examples.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    75
#------------------------------------------------------------------------------