dhodovsk / source-git / pacemaker

Forked from source-git/pacemaker 3 years ago
Clone

Blame lib/common/Makefile.am

rpm-build 3ee90c
#
rpm-build 3ee90c
# Copyright 2004-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 General Public License version 2
rpm-build 3ee90c
# or later (GPLv2+) WITHOUT ANY WARRANTY.
rpm-build 3ee90c
#
rpm-build 3ee90c
include $(top_srcdir)/Makefile.common
rpm-build 3ee90c
rpm-build 3ee90c
AM_CPPFLAGS		+= -I$(top_builddir)/lib/gnu -I$(top_srcdir)/lib/gnu -DPCMK_SCHEMAS_EMERGENCY_XSLT=0
rpm-build 3ee90c
rpm-build 3ee90c
MOSTLYCLEANFILES	= md5.c
rpm-build 3ee90c
rpm-build 3ee90c
## libraries
rpm-build 3ee90c
lib_LTLIBRARIES	= libcrmcommon.la
rpm-build 3ee90c
rpm-build 3ee90c
# Disable -Wcast-qual if used, because we do some hacky casting,
rpm-build 3ee90c
# and because libxml2 has some signatures that should be const but aren't
rpm-build 3ee90c
# for backward compatibility reasons.
rpm-build 3ee90c
rpm-build 3ee90c
# s390 needs -fPIC 
rpm-build 3ee90c
# s390-suse-linux/bin/ld: .libs/ipc.o: relocation R_390_PC32DBL against `__stack_chk_fail@@GLIBC_2.4' can not be used when making a shared object; recompile with -fPIC
rpm-build 3ee90c
rpm-build 3ee90c
CFLAGS		= $(CFLAGS_COPY:-Wcast-qual=) -fPIC
rpm-build 3ee90c
rpm-build 3ee90c
noinst_HEADERS		= crmcommon_private.h
rpm-build 3ee90c
rpm-build 3ee90c
libcrmcommon_la_LDFLAGS	= -version-info 37:0:3
rpm-build 3ee90c
rpm-build 3ee90c
libcrmcommon_la_CFLAGS	= $(CFLAGS_HARDENED_LIB)
rpm-build 3ee90c
libcrmcommon_la_LDFLAGS	+= $(LDFLAGS_HARDENED_LIB)
rpm-build 3ee90c
rpm-build 3ee90c
libcrmcommon_la_LIBADD	= @LIBADD_DL@
rpm-build 3ee90c
rpm-build 3ee90c
# Use += rather than backlashed continuation lines for parsing by bumplibs.sh
rpm-build 3ee90c
libcrmcommon_la_SOURCES	=
rpm-build 3ee90c
libcrmcommon_la_SOURCES	+= acl.c
rpm-build 3ee90c
libcrmcommon_la_SOURCES	+= agents.c
rpm-build 3ee90c
libcrmcommon_la_SOURCES	+= alerts.c
rpm-build 3ee90c
libcrmcommon_la_SOURCES	+= attrd_client.c
rpm-build 3ee90c
if BUILD_CIBSECRETS
rpm-build 3ee90c
libcrmcommon_la_SOURCES	+= cib_secrets.c
rpm-build 3ee90c
endif
rpm-build 3ee90c
libcrmcommon_la_SOURCES	+= cmdline.c
rpm-build 3ee90c
libcrmcommon_la_SOURCES	+= compat.c
rpm-build 3ee90c
libcrmcommon_la_SOURCES	+= digest.c
rpm-build 3ee90c
libcrmcommon_la_SOURCES	+= io.c
rpm-build 3ee90c
libcrmcommon_la_SOURCES	+= ipc.c
rpm-build 3ee90c
libcrmcommon_la_SOURCES	+= iso8601.c
rpm-build 3ee90c
libcrmcommon_la_SOURCES	+= logging.c
rpm-build 3ee90c
libcrmcommon_la_SOURCES	+= mainloop.c
rpm-build 3ee90c
libcrmcommon_la_SOURCES	+= nvpair.c
rpm-build 3ee90c
libcrmcommon_la_SOURCES	+= operations.c
rpm-build 3ee90c
libcrmcommon_la_SOURCES	+= output.c
rpm-build 3ee90c
libcrmcommon_la_SOURCES	+= output_html.c
rpm-build 3ee90c
libcrmcommon_la_SOURCES	+= output_none.c
rpm-build 3ee90c
libcrmcommon_la_SOURCES	+= output_text.c
rpm-build 3ee90c
libcrmcommon_la_SOURCES	+= output_xml.c
rpm-build 3ee90c
libcrmcommon_la_SOURCES	+= pid.c
rpm-build 3ee90c
libcrmcommon_la_SOURCES	+= procfs.c
rpm-build 3ee90c
libcrmcommon_la_SOURCES	+= remote.c
rpm-build 3ee90c
libcrmcommon_la_SOURCES	+= results.c
rpm-build 3ee90c
libcrmcommon_la_SOURCES	+= schemas.c
rpm-build 3ee90c
libcrmcommon_la_SOURCES	+= strings.c
rpm-build 3ee90c
libcrmcommon_la_SOURCES	+= utils.c
rpm-build 3ee90c
libcrmcommon_la_SOURCES	+= watchdog.c
rpm-build 3ee90c
libcrmcommon_la_SOURCES	+= xml.c
rpm-build 3ee90c
libcrmcommon_la_SOURCES	+= xpath.c
rpm-build 3ee90c
rpm-build 3ee90c
# It's possible to build the library adding ../gnu/md5.c directly to SOURCES,
rpm-build 3ee90c
# but distclean chokes on that because it tries to include the source's .Plo
rpm-build 3ee90c
# file, which may have already been cleaned.
rpm-build 3ee90c
nodist_libcrmcommon_la_SOURCES	= md5.c
rpm-build 3ee90c
rpm-build 3ee90c
md5.c: ../gnu/md5.c
rpm-build 3ee90c
	cp "$<" "$@"
rpm-build 3ee90c
rpm-build 3ee90c
clean-generic:
rpm-build 3ee90c
	rm -f *.log *.debug *.xml *~