diff --git a/lib/common/Makefile.am b/lib/common/Makefile.am index f8bebd7acd..7a2031c72e 100644 --- a/lib/common/Makefile.am +++ b/lib/common/Makefile.am @@ -1,44 +1,66 @@ # # Copyright 2004-2019 Andrew Beekhof # # This source code is licensed under the GNU General Public License version 2 # or later (GPLv2+) WITHOUT ANY WARRANTY. # include $(top_srcdir)/Makefile.common AM_CPPFLAGS += -I$(top_builddir)/lib/gnu -I$(top_srcdir)/lib/gnu -DPCMK_SCHEMAS_EMERGENCY_XSLT=0 ## libraries lib_LTLIBRARIES = libcrmcommon.la # Disable -Wcast-qual if used, because we do some hacky casting, # and because libxml2 has some signatures that should be const but aren't # for backward compatibility reasons. # s390 needs -fPIC # 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 CFLAGS = $(CFLAGS_COPY:-Wcast-qual=) -fPIC noinst_HEADERS = crmcommon_private.h libcrmcommon_la_LDFLAGS = -version-info 35:0:1 libcrmcommon_la_CFLAGS = $(CFLAGS_HARDENED_LIB) libcrmcommon_la_LDFLAGS += $(LDFLAGS_HARDENED_LIB) libcrmcommon_la_LIBADD = @LIBADD_DL@ $(GNUTLSLIBS) -libcrmcommon_la_SOURCES = compat.c digest.c ipc.c io.c procfs.c utils.c xml.c \ - iso8601.c remote.c mainloop.c logging.c watchdog.c \ - schemas.c strings.c xpath.c attrd_client.c alerts.c \ - operations.c pid.c results.c acl.c agents.c nvpair.c \ - output.c output_text.c output_xml.c +# Use += rather than backlashed continuation lines for parsing by bumplibs.sh +libcrmcommon_la_SOURCES = +libcrmcommon_la_SOURCES += acl.c +libcrmcommon_la_SOURCES += agents.c +libcrmcommon_la_SOURCES += alerts.c +libcrmcommon_la_SOURCES += attrd_client.c if BUILD_CIBSECRETS libcrmcommon_la_SOURCES += cib_secrets.c endif -#libcrmcommon_la_SOURCES += $(top_builddir)/lib/gnu/md5.c +libcrmcommon_la_SOURCES += compat.c +libcrmcommon_la_SOURCES += digest.c +libcrmcommon_la_SOURCES += io.c +libcrmcommon_la_SOURCES += ipc.c +libcrmcommon_la_SOURCES += iso8601.c +libcrmcommon_la_SOURCES += logging.c +libcrmcommon_la_SOURCES += mainloop.c +libcrmcommon_la_SOURCES += nvpair.c +libcrmcommon_la_SOURCES += operations.c +libcrmcommon_la_SOURCES += output.c +libcrmcommon_la_SOURCES += output_text.c +libcrmcommon_la_SOURCES += output_xml.c +libcrmcommon_la_SOURCES += pid.c +libcrmcommon_la_SOURCES += procfs.c +libcrmcommon_la_SOURCES += remote.c +libcrmcommon_la_SOURCES += results.c +libcrmcommon_la_SOURCES += schemas.c +libcrmcommon_la_SOURCES += strings.c +libcrmcommon_la_SOURCES += utils.c +libcrmcommon_la_SOURCES += watchdog.c +libcrmcommon_la_SOURCES += xml.c +libcrmcommon_la_SOURCES += xpath.c libcrmcommon_la_SOURCES += ../gnu/md5.c clean-generic: rm -f *.log *.debug *.xml *~ diff --git a/lib/pacemaker/Makefile.am b/lib/pacemaker/Makefile.am index 63c7e408c7..d50befc713 100644 --- a/lib/pacemaker/Makefile.am +++ b/lib/pacemaker/Makefile.am @@ -1,41 +1,43 @@ # # Copyright 2004-2018 Andrew Beekhof # # This source code is licensed under the GNU General Public License version 2 # or later (GPLv2+) WITHOUT ANY WARRANTY. # include $(top_srcdir)/Makefile.common AM_CPPFLAGS += -I$(top_builddir) -I$(top_srcdir) ## libraries lib_LTLIBRARIES = libpacemaker.la ## SOURCES libpacemaker_la_LDFLAGS = -version-info 1:0:0 libpacemaker_la_CFLAGS = $(CFLAGS_HARDENED_LIB) libpacemaker_la_LDFLAGS += $(LDFLAGS_HARDENED_LIB) libpacemaker_la_LIBADD = $(top_builddir)/lib/pengine/libpe_status.la \ $(top_builddir)/lib/cib/libcib.la \ $(top_builddir)/lib/lrmd/liblrmd.la # -L$(top_builddir)/lib/pils -lpils -export-dynamic -module -avoid-version -libpacemaker_la_SOURCES = pcmk_sched_allocate.c \ - pcmk_sched_bundle.c \ - pcmk_sched_clone.c \ - pcmk_sched_constraints.c \ - pcmk_sched_graph.c \ - pcmk_sched_group.c \ - pcmk_sched_messages.c \ - pcmk_sched_native.c \ - pcmk_sched_notif.c \ - pcmk_sched_promotable.c \ - pcmk_sched_transition.c \ - pcmk_sched_utilization.c \ - pcmk_sched_utils.c \ - pcmk_trans_graph.c \ - pcmk_trans_unpack.c \ - pcmk_trans_utils.c +# Use += rather than backlashed continuation lines for parsing by bumplibs.sh +libpacemaker_la_SOURCES = +libpacemaker_la_SOURCES += pcmk_sched_allocate.c +libpacemaker_la_SOURCES += pcmk_sched_bundle.c +libpacemaker_la_SOURCES += pcmk_sched_clone.c +libpacemaker_la_SOURCES += pcmk_sched_constraints.c +libpacemaker_la_SOURCES += pcmk_sched_graph.c +libpacemaker_la_SOURCES += pcmk_sched_group.c +libpacemaker_la_SOURCES += pcmk_sched_messages.c +libpacemaker_la_SOURCES += pcmk_sched_native.c +libpacemaker_la_SOURCES += pcmk_sched_notif.c +libpacemaker_la_SOURCES += pcmk_sched_promotable.c +libpacemaker_la_SOURCES += pcmk_sched_transition.c +libpacemaker_la_SOURCES += pcmk_sched_utilization.c +libpacemaker_la_SOURCES += pcmk_sched_utils.c +libpacemaker_la_SOURCES += pcmk_trans_graph.c +libpacemaker_la_SOURCES += pcmk_trans_unpack.c +libpacemaker_la_SOURCES += pcmk_trans_utils.c diff --git a/lib/pengine/Makefile.am b/lib/pengine/Makefile.am index a21d44f57f..ba2dbaa6d4 100644 --- a/lib/pengine/Makefile.am +++ b/lib/pengine/Makefile.am @@ -1,33 +1,45 @@ # # Copyright 2004-2018 Andrew Beekhof # # This source code is licensed under the GNU General Public License version 2 # or later (GPLv2+) WITHOUT ANY WARRANTY. # include $(top_srcdir)/Makefile.common ## libraries lib_LTLIBRARIES = libpe_rules.la libpe_status.la ## SOURCES noinst_HEADERS = unpack.h variant.h pe_status_private.h libpe_rules_la_LDFLAGS = -version-info 26:1:0 libpe_rules_la_CFLAGS = $(CFLAGS_HARDENED_LIB) libpe_rules_la_LDFLAGS += $(LDFLAGS_HARDENED_LIB) libpe_rules_la_LIBADD = $(top_builddir)/lib/common/libcrmcommon.la libpe_rules_la_SOURCES = rules.c rules_alerts.c common.c libpe_status_la_LDFLAGS = -version-info 28:1:0 libpe_status_la_CFLAGS = $(CFLAGS_HARDENED_LIB) libpe_status_la_LDFLAGS += $(LDFLAGS_HARDENED_LIB) libpe_status_la_LIBADD = @CURSESLIBS@ $(top_builddir)/lib/common/libcrmcommon.la -libpe_status_la_SOURCES = status.c unpack.c utils.c complex.c native.c bundle.c \ - group.c clone.c rules.c common.c failcounts.c remote.c +# Use += rather than backlashed continuation lines for parsing by bumplibs.sh +libpe_status_la_SOURCES = +libpe_status_la_SOURCES += bundle.c +libpe_status_la_SOURCES += clone.c +libpe_status_la_SOURCES += common.c +libpe_status_la_SOURCES += complex.c +libpe_status_la_SOURCES += failcounts.c +libpe_status_la_SOURCES += group.c +libpe_status_la_SOURCES += native.c +libpe_status_la_SOURCES += remote.c +libpe_status_la_SOURCES += rules.c +libpe_status_la_SOURCES += status.c +libpe_status_la_SOURCES += unpack.c +libpe_status_la_SOURCES += utils.c clean-generic: rm -f *.log *.debug *~