public inbox for cluster-cvs@sourceware.org help / color / mirror / Atom feed
From: "Fabio M. Di Nitto" <fabbione@fedoraproject.org> To: cluster-cvs-relay@redhat.com Subject: fence: master - fence: make libfenced shared Date: Tue, 11 Aug 2009 17:35:00 -0000 [thread overview] Message-ID: <20090811173437.262DB1201D6@lists.fedorahosted.org> (raw) Gitweb: http://git.fedorahosted.org/git/fence.git?p=fence.git;a=commitdiff;h=1ac8b5822325a381cb5bb88fd841cf5e4c6174db Commit: 1ac8b5822325a381cb5bb88fd841cf5e4c6174db Parent: 30984aa352cc3990bdfbad25624216669062953a Author: Fabio M. Di Nitto <fdinitto@redhat.com> AuthorDate: Tue Aug 11 16:46:38 2009 +0200 Committer: Fabio M. Di Nitto <fdinitto@redhat.com> CommitterDate: Tue Aug 11 19:34:17 2009 +0200 fence: make libfenced shared libfenced is a private library. make it shared to simplify other tasks. DO NOT USE IT or horses will die. Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com> --- fence/libfenced/Makefile.am | 12 ++++-------- fence/libfenced/libfenced.h | 13 +++++++++++++ fence/libfenced/libfenced.pc.in | 2 +- 3 files changed, 18 insertions(+), 9 deletions(-) diff --git a/fence/libfenced/Makefile.am b/fence/libfenced/Makefile.am index 615d152..3ebdef8 100644 --- a/fence/libfenced/Makefile.am +++ b/fence/libfenced/Makefile.am @@ -1,21 +1,17 @@ MAINTAINERCLEANFILES = Makefile.in +libversion = 3:0:0 + include_HEADERS = libfenced.h pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = libfenced.pc -noinst_LTLIBRARIES = libfenced.la +lib_LTLIBRARIES = libfenced.la libfenced_la_SOURCES = main.c libfenced_la_CPPFLAGS = -I$(top_srcdir)/fence/fenced -install-exec-local: - $(INSTALL) -d $(DESTDIR)/$(libdir) - $(INSTALL) -m 644 $(builddir)/.libs/libfenced.a $(DESTDIR)/$(libdir)/ - -uninstall-local: - cd $(DESTDIR)/$(libdir) && \ - rm -f libfenced.a +libfenced_la_LDFLAGS = -version-info $(libversion) diff --git a/fence/libfenced/libfenced.h b/fence/libfenced/libfenced.h index b869136..8ddda65 100644 --- a/fence/libfenced/libfenced.h +++ b/fence/libfenced/libfenced.h @@ -1,3 +1,16 @@ +/* + * libfenced is a private library. + * + * If you think this library is installed on your cluster, you are wrong. + * You have never seen it, it doesn't exist, you'll never talk about it + * or ponder to use it. + * + * "You've got a nice noun there. + * It'd be a shame if anything were to ... happen to it." + * + * The Godfather (aka fabbione) + */ + #ifndef _LIBFENCED_H_ #define _LIBFENCED_H_ diff --git a/fence/libfenced/libfenced.pc.in b/fence/libfenced/libfenced.pc.in index 0a550fa..ec2c5e8 100644 --- a/fence/libfenced/libfenced.pc.in +++ b/fence/libfenced/libfenced.pc.in @@ -5,7 +5,7 @@ includedir=${prefix}/include Name: libfenced Version: @VERSION@ -Description: Cluster Fence Daemon library +Description: Private Fencing Comm. Library - DO NOT USE - see lib header Requires: Libs: -L${libdir} -lfenced Cflags: -I${includedir}
reply other threads:[~2009-08-11 17:35 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20090811173437.262DB1201D6@lists.fedorahosted.org \ --to=fabbione@fedoraproject.org \ --cc=cluster-cvs-relay@redhat.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).