mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-02-06 20:01:44 +08:00
BUILT_SOURCES is used to trigger early generation of files in the `make`
process to workaround dependency problems:
https://www.gnu.org/software/automake/manual/html_node/Sources.html
AC_CONFIG_FILES are generated by `configure`, so they are already
present in the file system even before `make` is called. Furthermore,
AC_CONFIG_FILES already properly handle dist and clean targets, so no
need to add them to EXTRA_DIST or DISTCLEANFILES:
https://www.gnu.org/software/automake/manual/html_node/Requirements.html
70 lines
1.6 KiB
Makefile
70 lines
1.6 KiB
Makefile
#------------------------------------------------------------------------------
|
|
#
|
|
# $Id$
|
|
#
|
|
# Copyright (C) 2006-2012 Florian Pose, Ingenieurgemeinschaft IgH
|
|
#
|
|
# This file is part of the IgH EtherCAT Master.
|
|
#
|
|
# The IgH EtherCAT Master is free software; you can redistribute it and/or
|
|
# modify it under the terms of the GNU General Public License version 2, as
|
|
# published by the Free Software Foundation.
|
|
#
|
|
# The IgH EtherCAT Master is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
|
# Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License along
|
|
# with the IgH EtherCAT Master; if not, write to the Free Software
|
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
#
|
|
# ---
|
|
#
|
|
# The license mentioned above concerns the source code only. Using the
|
|
# EtherCAT technology and brand is only permitted in compliance with the
|
|
# industrial property and similar rights of Beckhoff Automation GmbH.
|
|
#
|
|
#------------------------------------------------------------------------------
|
|
|
|
SUBDIRS =
|
|
|
|
if ENABLE_USERLIB
|
|
SUBDIRS += \
|
|
dc_user \
|
|
user
|
|
endif
|
|
|
|
if ENABLE_TTY
|
|
SUBDIRS += \
|
|
tty
|
|
endif
|
|
|
|
if ENABLE_RTDM
|
|
if ENABLE_XENOMAI
|
|
SUBDIRS += \
|
|
xenomai \
|
|
xenomai_posix
|
|
endif
|
|
|
|
if ENABLE_RTAI
|
|
SUBDIRS += \
|
|
rtai_rtdm \
|
|
rtai_rtdm_dc
|
|
endif
|
|
endif
|
|
|
|
DIST_SUBDIRS = \
|
|
dc_rtai \
|
|
dc_user \
|
|
mini \
|
|
rtai \
|
|
rtai_rtdm \
|
|
rtai_rtdm_dc \
|
|
tty \
|
|
user \
|
|
xenomai \
|
|
xenomai_posix
|
|
|
|
#------------------------------------------------------------------------------
|