dhodovsk / source-git / pacemaker

Forked from source-git/pacemaker 3 years ago
Clone

Blame daemons/execd/Makefile.am

rpm-build 3ee90c
#
rpm-build 3ee90c
# Copyright 2012-2019 the Pacemaker project contributors
rpm-build 3ee90c
#
rpm-build 3ee90c
# The version control history for this file may have further details.
rpm-build 3ee90c
#
rpm-build 3ee90c
# This source code is licensed under the GNU Lesser General Public License
rpm-build 3ee90c
# version 2.1 or later (LGPLv2.1+) WITHOUT ANY WARRANTY.
rpm-build 3ee90c
#
rpm-build 3ee90c
rpm-build 3ee90c
include $(top_srcdir)/Makefile.common
rpm-build 3ee90c
rpm-build 3ee90c
halibdir		= $(CRM_DAEMON_DIR)
rpm-build 3ee90c
rpm-build 3ee90c
halib_PROGRAMS		= pacemaker-execd cts-exec-helper
rpm-build 3ee90c
rpm-build 3ee90c
initdir			= $(INITDIR)
rpm-build 3ee90c
init_SCRIPTS		= pacemaker_remote
rpm-build 3ee90c
sbin_PROGRAMS		= pacemaker-remoted
rpm-build 3ee90c
rpm-build 3ee90c
if BUILD_SYSTEMD
rpm-build 3ee90c
systemdsystemunit_DATA	= pacemaker_remote.service
rpm-build 3ee90c
endif
rpm-build 3ee90c
rpm-build 3ee90c
pacemaker_execd_CFLAGS		= $(CFLAGS_HARDENED_EXE)
rpm-build 3ee90c
pacemaker_execd_LDFLAGS		= $(LDFLAGS_HARDENED_EXE)
rpm-build 3ee90c
rpm-build 3ee90c
pacemaker_execd_LDADD		= $(top_builddir)/lib/common/libcrmcommon.la \
rpm-build 3ee90c
				  $(top_builddir)/lib/services/libcrmservice.la	\
rpm-build 3ee90c
				  $(top_builddir)/lib/fencing/libstonithd.la ${COMPAT_LIBS}
rpm-build 3ee90c
pacemaker_execd_SOURCES		= pacemaker-execd.c execd_commands.c \
rpm-build 3ee90c
				  execd_alerts.c
rpm-build 3ee90c
rpm-build 3ee90c
pacemaker_remoted_CPPFLAGS	= -DSUPPORT_REMOTE $(AM_CPPFLAGS)
rpm-build 3ee90c
rpm-build 3ee90c
pacemaker_remoted_CFLAGS	= $(CFLAGS_HARDENED_EXE)
rpm-build 3ee90c
pacemaker_remoted_LDFLAGS	= $(LDFLAGS_HARDENED_EXE)
rpm-build 3ee90c
rpm-build 3ee90c
pacemaker_remoted_LDADD		= $(pacemaker_execd_LDADD) \
rpm-build 3ee90c
				  $(top_builddir)/lib/lrmd/liblrmd.la
rpm-build 3ee90c
pacemaker_remoted_SOURCES	= $(pacemaker_execd_SOURCES) \
rpm-build 3ee90c
				  remoted_tls.c remoted_pidone.c remoted_proxy.c
rpm-build 3ee90c
rpm-build 3ee90c
cts_exec_helper_LDADD	= $(top_builddir)/lib/common/libcrmcommon.la    \
rpm-build 3ee90c
			  $(top_builddir)/lib/lrmd/liblrmd.la		\
rpm-build 3ee90c
			  $(top_builddir)/lib/cib/libcib.la		\
rpm-build 3ee90c
			  $(top_builddir)/lib/services/libcrmservice.la \
rpm-build 3ee90c
			  $(top_builddir)/lib/pengine/libpe_status.la
rpm-build 3ee90c
cts_exec_helper_SOURCES	= cts-exec-helper.c
rpm-build 3ee90c
rpm-build 3ee90c
noinst_HEADERS  = pacemaker-execd.h
rpm-build 3ee90c
rpm-build 3ee90c
CLEANFILES = $(man8_MANS)
rpm-build 3ee90c
rpm-build 3ee90c
if BUILD_LEGACY_LINKS
rpm-build 3ee90c
install-exec-hook:
rpm-build 3ee90c
	cd $(DESTDIR)$(CRM_DAEMON_DIR) && rm -f lrmd && $(LN_S) pacemaker-execd lrmd
rpm-build 3ee90c
	cd $(DESTDIR)$(sbindir) && rm -f pacemaker_remoted && $(LN_S) pacemaker-remoted pacemaker_remoted
rpm-build 3ee90c
rpm-build 3ee90c
uninstall-hook:
rpm-build 3ee90c
	cd $(DESTDIR)$(CRM_DAEMON_DIR) && rm -f lrmd
rpm-build 3ee90c
	cd $(DESTDIR)$(sbindir) && rm -f pacemaker_remoted
rpm-build 3ee90c
endif