script/Makefile.am
author Florian Pose <fp@igh-essen.com>
Fri, 25 Apr 2014 17:05:39 +0200
branchstable-1.5
changeset 2559 a24ff468cb25
parent 2263 543ba57580af
permissions -rw-r--r--
Avoided unused return value warning.
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
#  ---
2192
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents: 1363
diff changeset
    27
#
1c7c546ac08c 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
1c7c546ac08c 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
1c7c546ac08c 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
2192
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents: 1363
diff changeset
    36
sbin_SCRIPTS = ethercatctl
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents: 1363
diff changeset
    37
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents: 1363
diff changeset
    38
systemddir = $(libdir)/systemd/system
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents: 1363
diff changeset
    39
systemd_DATA = ethercat.service
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents: 1363
diff changeset
    40
2263
543ba57580af Add ethercat.conf to distribution.
Florian Pose <fp@igh-essen.com>
parents: 2192
diff changeset
    41
dist_sysconf_DATA = ethercat.conf
2192
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents: 1363
diff changeset
    42
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents: 1363
diff changeset
    43
EXTRA_DIST = \
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents: 1363
diff changeset
    44
	ethercatctl.in \
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents: 1363
diff changeset
    45
	ethercat.service.in \
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents: 1363
diff changeset
    46
	ifup-eoe.sh
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents: 1363
diff changeset
    47
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents: 1363
diff changeset
    48
BUILT_SOURCES = \
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents: 1363
diff changeset
    49
	ethercatctl \
1c7c546ac08c 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
#------------------------------------------------------------------------------