examples/Kbuild.in
author Florian Pose <fp@igh-essen.com>
Fri, 22 Jan 2016 10:11:58 +0100
branchstable-1.5
changeset 2653 291dddb7233e
parent 2433 3bdd7a747fae
permissions -rw-r--r--
Always clear PDO assignment of configured sync managers.
1286
88e573e033f1 Build examples by default.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     1
#------------------------------------------------------------------------------
88e573e033f1 Build examples by default.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     2
#
2417
63bef67e812b Fixed all mangled hg keywords.
Florian Pose <fp@igh-essen.com>
parents: 1567
diff changeset
     3
#  $Id$
1286
88e573e033f1 Build examples by default.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     4
#
2433
3bdd7a747fae Re-worked and seamlessly integrated RTDM interface.
Florian Pose <fp@igh-essen.com>
parents: 2421
diff changeset
     5
#  Copyright (C) 2006-2012  Florian Pose, Ingenieurgemeinschaft IgH
1286
88e573e033f1 Build examples by default.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     6
#
88e573e033f1 Build examples by default.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     7
#  This file is part of the IgH EtherCAT Master.
88e573e033f1 Build examples by default.
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.
1286
88e573e033f1 Build examples by default.
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.
1286
88e573e033f1 Build examples by default.
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
1286
88e573e033f1 Build examples by default.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    20
#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
88e573e033f1 Build examples by default.
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
#  ---
2421
bc2d4bf9cbe5 Removed trailing spaces.
Florian Pose <fp@igh-essen.com>
parents: 2417
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.
1286
88e573e033f1 Build examples by default.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    27
#
1567
1babaa430b7b Added tty example.
Florian Pose <fp@igh-essen.com>
parents: 1363
diff changeset
    28
#  vi: syntax=make
1babaa430b7b Added tty example.
Florian Pose <fp@igh-essen.com>
parents: 1363
diff changeset
    29
#
1286
88e573e033f1 Build examples by default.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    30
#------------------------------------------------------------------------------
88e573e033f1 Build examples by default.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    31
88e573e033f1 Build examples by default.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    32
obj-m := mini/
88e573e033f1 Build examples by default.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    33
1567
1babaa430b7b Added tty example.
Florian Pose <fp@igh-essen.com>
parents: 1363
diff changeset
    34
ifeq (@ENABLE_TTY@,1)
1babaa430b7b Added tty example.
Florian Pose <fp@igh-essen.com>
parents: 1363
diff changeset
    35
	obj-m += tty/
1babaa430b7b Added tty example.
Florian Pose <fp@igh-essen.com>
parents: 1363
diff changeset
    36
endif
1babaa430b7b Added tty example.
Florian Pose <fp@igh-essen.com>
parents: 1363
diff changeset
    37
2433
3bdd7a747fae Re-worked and seamlessly integrated RTDM interface.
Florian Pose <fp@igh-essen.com>
parents: 2421
diff changeset
    38
ifeq (@ENABLE_RTAI@,1)
3bdd7a747fae Re-worked and seamlessly integrated RTDM interface.
Florian Pose <fp@igh-essen.com>
parents: 2421
diff changeset
    39
	obj-m += rtai/ dc_rtai/
3bdd7a747fae Re-worked and seamlessly integrated RTDM interface.
Florian Pose <fp@igh-essen.com>
parents: 2421
diff changeset
    40
endif
3bdd7a747fae Re-worked and seamlessly integrated RTDM interface.
Florian Pose <fp@igh-essen.com>
parents: 2421
diff changeset
    41
1286
88e573e033f1 Build examples by default.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    42
#------------------------------------------------------------------------------