author | Florian Pose <fp@igh-essen.com> |
Fri, 28 Oct 2011 11:31:54 +0200 | |
changeset 2126 | 0383b71b88e4 |
parent 2059 | ab0b96ac18bb |
child 2589 | 2b9c78543663 |
permissions | -rw-r--r-- |
2058
543c4ce9e86e
Working RTAI RTDM module
Andreas Stewering-Bone <ab@igh-essen.com>
parents:
diff
changeset
|
1 |
#------------------------------------------------------------------------------ |
543c4ce9e86e
Working RTAI RTDM module
Andreas Stewering-Bone <ab@igh-essen.com>
parents:
diff
changeset
|
2 |
# |
543c4ce9e86e
Working RTAI RTDM module
Andreas Stewering-Bone <ab@igh-essen.com>
parents:
diff
changeset
|
3 |
# $Id$ |
543c4ce9e86e
Working RTAI RTDM module
Andreas Stewering-Bone <ab@igh-essen.com>
parents:
diff
changeset
|
4 |
# |
543c4ce9e86e
Working RTAI RTDM module
Andreas Stewering-Bone <ab@igh-essen.com>
parents:
diff
changeset
|
5 |
# Copyright (C) 2006-2008 Florian Pose, Ingenieurgemeinschaft IgH |
543c4ce9e86e
Working RTAI RTDM module
Andreas Stewering-Bone <ab@igh-essen.com>
parents:
diff
changeset
|
6 |
# |
543c4ce9e86e
Working RTAI RTDM module
Andreas Stewering-Bone <ab@igh-essen.com>
parents:
diff
changeset
|
7 |
# This file is part of the IgH EtherCAT Master. |
543c4ce9e86e
Working RTAI RTDM module
Andreas Stewering-Bone <ab@igh-essen.com>
parents:
diff
changeset
|
8 |
# |
543c4ce9e86e
Working RTAI RTDM module
Andreas Stewering-Bone <ab@igh-essen.com>
parents:
diff
changeset
|
9 |
# The IgH EtherCAT Master is free software; you can redistribute it and/or |
543c4ce9e86e
Working RTAI RTDM module
Andreas Stewering-Bone <ab@igh-essen.com>
parents:
diff
changeset
|
10 |
# modify it under the terms of the GNU General Public License version 2, as |
543c4ce9e86e
Working RTAI RTDM module
Andreas Stewering-Bone <ab@igh-essen.com>
parents:
diff
changeset
|
11 |
# published by the Free Software Foundation. |
543c4ce9e86e
Working RTAI RTDM module
Andreas Stewering-Bone <ab@igh-essen.com>
parents:
diff
changeset
|
12 |
# |
543c4ce9e86e
Working RTAI RTDM module
Andreas Stewering-Bone <ab@igh-essen.com>
parents:
diff
changeset
|
13 |
# The IgH EtherCAT Master is distributed in the hope that it will be useful, |
543c4ce9e86e
Working RTAI RTDM module
Andreas Stewering-Bone <ab@igh-essen.com>
parents:
diff
changeset
|
14 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
543c4ce9e86e
Working RTAI RTDM module
Andreas Stewering-Bone <ab@igh-essen.com>
parents:
diff
changeset
|
15 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General |
543c4ce9e86e
Working RTAI RTDM module
Andreas Stewering-Bone <ab@igh-essen.com>
parents:
diff
changeset
|
16 |
# Public License for more details. |
543c4ce9e86e
Working RTAI RTDM module
Andreas Stewering-Bone <ab@igh-essen.com>
parents:
diff
changeset
|
17 |
# |
543c4ce9e86e
Working RTAI RTDM module
Andreas Stewering-Bone <ab@igh-essen.com>
parents:
diff
changeset
|
18 |
# You should have received a copy of the GNU General Public License along with |
543c4ce9e86e
Working RTAI RTDM module
Andreas Stewering-Bone <ab@igh-essen.com>
parents:
diff
changeset
|
19 |
# the IgH EtherCAT Master; if not, write to the Free Software Foundation, |
543c4ce9e86e
Working RTAI RTDM module
Andreas Stewering-Bone <ab@igh-essen.com>
parents:
diff
changeset
|
20 |
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
543c4ce9e86e
Working RTAI RTDM module
Andreas Stewering-Bone <ab@igh-essen.com>
parents:
diff
changeset
|
21 |
# |
543c4ce9e86e
Working RTAI RTDM module
Andreas Stewering-Bone <ab@igh-essen.com>
parents:
diff
changeset
|
22 |
# --- |
543c4ce9e86e
Working RTAI RTDM module
Andreas Stewering-Bone <ab@igh-essen.com>
parents:
diff
changeset
|
23 |
# |
543c4ce9e86e
Working RTAI RTDM module
Andreas Stewering-Bone <ab@igh-essen.com>
parents:
diff
changeset
|
24 |
# The license mentioned above concerns the source code only. Using the |
543c4ce9e86e
Working RTAI RTDM module
Andreas Stewering-Bone <ab@igh-essen.com>
parents:
diff
changeset
|
25 |
# EtherCAT technology and brand is only permitted in compliance with the |
543c4ce9e86e
Working RTAI RTDM module
Andreas Stewering-Bone <ab@igh-essen.com>
parents:
diff
changeset
|
26 |
# industrial property and similar rights of Beckhoff Automation GmbH. |
543c4ce9e86e
Working RTAI RTDM module
Andreas Stewering-Bone <ab@igh-essen.com>
parents:
diff
changeset
|
27 |
# |
543c4ce9e86e
Working RTAI RTDM module
Andreas Stewering-Bone <ab@igh-essen.com>
parents:
diff
changeset
|
28 |
#------------------------------------------------------------------------------ |
543c4ce9e86e
Working RTAI RTDM module
Andreas Stewering-Bone <ab@igh-essen.com>
parents:
diff
changeset
|
29 |
|
543c4ce9e86e
Working RTAI RTDM module
Andreas Stewering-Bone <ab@igh-essen.com>
parents:
diff
changeset
|
30 |
|
543c4ce9e86e
Working RTAI RTDM module
Andreas Stewering-Bone <ab@igh-essen.com>
parents:
diff
changeset
|
31 |
AM_CFLAGS = -Wall |
543c4ce9e86e
Working RTAI RTDM module
Andreas Stewering-Bone <ab@igh-essen.com>
parents:
diff
changeset
|
32 |
|
543c4ce9e86e
Working RTAI RTDM module
Andreas Stewering-Bone <ab@igh-essen.com>
parents:
diff
changeset
|
33 |
noinst_PROGRAMS = ec_rtai_rtdm_example |
543c4ce9e86e
Working RTAI RTDM module
Andreas Stewering-Bone <ab@igh-essen.com>
parents:
diff
changeset
|
34 |
|
543c4ce9e86e
Working RTAI RTDM module
Andreas Stewering-Bone <ab@igh-essen.com>
parents:
diff
changeset
|
35 |
ec_rtai_rtdm_example_SOURCES = main.c |
2059
ab0b96ac18bb
Working RTAI LXRT example
Andreas Stewering-Bone <ab@igh-essen.com>
parents:
2058
diff
changeset
|
36 |
ec_rtai_rtdm_example_CFLAGS = -I. -I"$(RTAI_DIR)"/include -O2 -I"$(LINUX_SOURCE_DIR)"/include -Wall -Wstrict-prototypes -pipe -I$(top_srcdir)/include |
ab0b96ac18bb
Working RTAI LXRT example
Andreas Stewering-Bone <ab@igh-essen.com>
parents:
2058
diff
changeset
|
37 |
ec_rtai_rtdm_example_LDFLAGS = -L"$(RTAI_DIR)"/lib -llxrt -lrtdm -lpthread -L$(top_builddir)/lib/.libs -lethercat |
2058
543c4ce9e86e
Working RTAI RTDM module
Andreas Stewering-Bone <ab@igh-essen.com>
parents:
diff
changeset
|
38 |
|
543c4ce9e86e
Working RTAI RTDM module
Andreas Stewering-Bone <ab@igh-essen.com>
parents:
diff
changeset
|
39 |
|
543c4ce9e86e
Working RTAI RTDM module
Andreas Stewering-Bone <ab@igh-essen.com>
parents:
diff
changeset
|
40 |
#------------------------------------------------------------------------------ |