script/Makefile.am
author Knud Baastrup <kba@deif.com>
Tue, 14 Apr 2015 10:12:55 -0400
changeset 2625 e25af8bd3957
parent 2264 c5aca818cbeb
permissions -rw-r--r--
Eoe mac address now derived from unique mac.
The EoE MAC address is now derived from the NIC part of the first global
unique MAC address of the linked list of available network interfaces or
otherwise the MAC address used by the EtherCAT master. The EoE MAC address
will get the format 02:NIC:NIC:NIC:RP:RP where NIC comes from the unique MAC
address (if available) and RP is the ring position of the EoE slave.
386
7020a47f092a Added file script/Makefile.am
Richard Hacker <ha@igh-essen.com>
parents:
diff changeset
     1
#------------------------------------------------------------------------------
7020a47f092a Added file script/Makefile.am
Richard Hacker <ha@igh-essen.com>
parents:
diff changeset
     2
#
7020a47f092a Added file script/Makefile.am
Richard Hacker <ha@igh-essen.com>
parents:
diff changeset
     3
#  Makefile.am
7020a47f092a Added file script/Makefile.am
Richard Hacker <ha@igh-essen.com>
parents:
diff changeset
     4
#
7020a47f092a Added file script/Makefile.am
Richard Hacker <ha@igh-essen.com>
parents:
diff changeset
     5
#  IgH EtherCAT master
7020a47f092a Added file script/Makefile.am
Richard Hacker <ha@igh-essen.com>
parents:
diff changeset
     6
#
387
e6e708a5d502 Improved autotools files.
Florian Pose <fp@igh-essen.com>
parents: 386
diff changeset
     7
#  $Id$
386
7020a47f092a Added file script/Makefile.am
Richard Hacker <ha@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: 1192
diff changeset
     9
#  Copyright (C) 2006-2008  Florian Pose, Ingenieurgemeinschaft IgH
386
7020a47f092a Added file script/Makefile.am
Richard Hacker <ha@igh-essen.com>
parents:
diff changeset
    10
#
7020a47f092a Added file script/Makefile.am
Richard Hacker <ha@igh-essen.com>
parents:
diff changeset
    11
#  This file is part of the IgH EtherCAT Master.
7020a47f092a Added file script/Makefile.am
Richard Hacker <ha@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: 1192
diff changeset
    13
#  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: 1192
diff changeset
    14
#  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: 1192
diff changeset
    15
#  published by the Free Software Foundation.
386
7020a47f092a Added file script/Makefile.am
Richard Hacker <ha@igh-essen.com>
parents:
diff changeset
    16
#
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: 1192
diff changeset
    17
#  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: 1192
diff changeset
    18
#  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: 1192
diff changeset
    19
#  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: 1192
diff changeset
    20
#  Public License for more details.
386
7020a47f092a Added file script/Makefile.am
Richard Hacker <ha@igh-essen.com>
parents:
diff changeset
    21
#
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: 1192
diff changeset
    22
#  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: 1192
diff changeset
    23
#  with the IgH EtherCAT Master; if not, write to the Free Software
386
7020a47f092a Added file script/Makefile.am
Richard Hacker <ha@igh-essen.com>
parents:
diff changeset
    24
#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
7020a47f092a Added file script/Makefile.am
Richard Hacker <ha@igh-essen.com>
parents:
diff changeset
    25
#
1363
11c0b2caa253 Improved and added license headers.
Florian Pose <fp@igh-essen.com>
parents: 1326
diff changeset
    26
#  ---
2189
002b978df979 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents: 1363
diff changeset
    27
#
002b978df979 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents: 1363
diff changeset
    28
#  The license mentioned above concerns the source code only. Using the
002b978df979 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents: 1363
diff changeset
    29
#  EtherCAT technology and brand is only permitted in compliance with the
002b978df979 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents: 1363
diff changeset
    30
#  industrial property and similar rights of Beckhoff Automation GmbH.
386
7020a47f092a Added file script/Makefile.am
Richard Hacker <ha@igh-essen.com>
parents:
diff changeset
    31
#
7020a47f092a Added file script/Makefile.am
Richard Hacker <ha@igh-essen.com>
parents:
diff changeset
    32
#------------------------------------------------------------------------------
7020a47f092a Added file script/Makefile.am
Richard Hacker <ha@igh-essen.com>
parents:
diff changeset
    33
563
d113b63c55c4 Changed structure of scripts subdirectory.
Florian Pose <fp@igh-essen.com>
parents: 387
diff changeset
    34
SUBDIRS = init.d sysconfig
386
7020a47f092a Added file script/Makefile.am
Richard Hacker <ha@igh-essen.com>
parents:
diff changeset
    35
2189
002b978df979 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents: 1363
diff changeset
    36
sbin_SCRIPTS = ethercatctl
002b978df979 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents: 1363
diff changeset
    37
002b978df979 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents: 1363
diff changeset
    38
systemddir = $(libdir)/systemd/system
002b978df979 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents: 1363
diff changeset
    39
systemd_DATA = ethercat.service
002b978df979 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents: 1363
diff changeset
    40
2264
c5aca818cbeb Add ethercat.conf to distribution.
Florian Pose <fp@igh-essen.com>
parents: 2189
diff changeset
    41
dist_sysconf_DATA = ethercat.conf
2189
002b978df979 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents: 1363
diff changeset
    42
002b978df979 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents: 1363
diff changeset
    43
EXTRA_DIST = \
002b978df979 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents: 1363
diff changeset
    44
	ethercatctl.in \
002b978df979 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents: 1363
diff changeset
    45
	ethercat.service.in \
002b978df979 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents: 1363
diff changeset
    46
	ifup-eoe.sh
002b978df979 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents: 1363
diff changeset
    47
002b978df979 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents: 1363
diff changeset
    48
BUILT_SOURCES = \
002b978df979 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents: 1363
diff changeset
    49
	ethercatctl \
002b978df979 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents: 1363
diff changeset
    50
	ethercat.service
386
7020a47f092a Added file script/Makefile.am
Richard Hacker <ha@igh-essen.com>
parents:
diff changeset
    51
7020a47f092a Added file script/Makefile.am
Richard Hacker <ha@igh-essen.com>
parents:
diff changeset
    52
#------------------------------------------------------------------------------