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: cluster: STABLE3 - fence: make libfenced shared
Date: Tue, 11 Aug 2009 14:48:00 -0000	[thread overview]
Message-ID: <20090811144824.04C791201D6@lists.fedorahosted.org> (raw)

Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=91dd96a00b0aa756b65dce961b82efa532b41053
Commit:        91dd96a00b0aa756b65dce961b82efa532b41053
Parent:        3a604b47f17206bd57d85a4c2580aa0202652e42
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 16:46:38 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        |    2 --
 fence/libfenced/libfenced.h     |   13 +++++++++++++
 fence/libfenced/libfenced.pc.in |   11 +++++++++++
 3 files changed, 24 insertions(+), 2 deletions(-)

diff --git a/fence/libfenced/Makefile b/fence/libfenced/Makefile
index 827886e..17148e1 100644
--- a/fence/libfenced/Makefile
+++ b/fence/libfenced/Makefile
@@ -1,7 +1,5 @@
 TARGET= libfenced
 
-MAKESTATICLIB = 1
-
 OBJS=	main.o
 
 include ../../make/defines.mk
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
new file mode 100644
index 0000000..208e6b3
--- /dev/null
+++ b/fence/libfenced/libfenced.pc.in
@@ -0,0 +1,11 @@
+prefix=@PREFIX@
+exec_prefix=${prefix}
+libdir=@LIBDIR@
+includedir=@INCDIR@
+
+Name: libfenced
+Version: @VERSION@
+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 14:48 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=20090811144824.04C791201D6@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: link
Be 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).