examples/Makefile.am
author Florian Pose <fp@igh-essen.com>
Thu, 15 Apr 2010 20:52:49 +0200
changeset 1897 029345a0de52
parent 1613 070b4b420ab1
child 2054 3417bbc4ad2f
child 2421 bc2d4bf9cbe5
permissions -rw-r--r--
Removed printk().
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
1242
632a6b91f8e4 First version of userspace library with requesting/releasing.
Florian Pose <fp@igh-essen.com>
parents: 1080
diff changeset
    43
DIST_SUBDIRS = \
1414
0037a63d3cc5 DC example applications.
Florian Pose <fp@igh-essen.com>
parents: 1363
diff changeset
    44
	dc_rtai \
0037a63d3cc5 DC example applications.
Florian Pose <fp@igh-essen.com>
parents: 1363
diff changeset
    45
	dc_user \
1242
632a6b91f8e4 First version of userspace library with requesting/releasing.
Florian Pose <fp@igh-essen.com>
parents: 1080
diff changeset
    46
	mini \
632a6b91f8e4 First version of userspace library with requesting/releasing.
Florian Pose <fp@igh-essen.com>
parents: 1080
diff changeset
    47
	rtai \
1576
0a3d96138e8b Fixed distribution of TTY example.
Florian Pose <fp@igh-essen.com>
parents: 1414
diff changeset
    48
	tty \
1242
632a6b91f8e4 First version of userspace library with requesting/releasing.
Florian Pose <fp@igh-essen.com>
parents: 1080
diff changeset
    49
	user
393
9cfbb344adc0 Distribution makefile for examples.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    50
1286
88e573e033f1 Build examples by default.
Florian Pose <fp@igh-essen.com>
parents: 1242
diff changeset
    51
EXTRA_DIST = \
88e573e033f1 Build examples by default.
Florian Pose <fp@igh-essen.com>
parents: 1242
diff changeset
    52
	Kbuild.in
88e573e033f1 Build examples by default.
Florian Pose <fp@igh-essen.com>
parents: 1242
diff changeset
    53
88e573e033f1 Build examples by default.
Florian Pose <fp@igh-essen.com>
parents: 1242
diff changeset
    54
BUILT_SOURCES = \
88e573e033f1 Build examples by default.
Florian Pose <fp@igh-essen.com>
parents: 1242
diff changeset
    55
	Kbuild
88e573e033f1 Build examples by default.
Florian Pose <fp@igh-essen.com>
parents: 1242
diff changeset
    56
393
9cfbb344adc0 Distribution makefile for examples.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    57
#------------------------------------------------------------------------------