public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* cluster: STABLE3 - fence: make libfenced shared
@ 2009-08-11 14:48 Fabio M. Di Nitto
0 siblings, 0 replies; only message in thread
From: Fabio M. Di Nitto @ 2009-08-11 14:48 UTC (permalink / raw)
To: cluster-cvs-relay
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}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-08-11 14:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-11 14:48 cluster: STABLE3 - fence: make libfenced shared Fabio M. Di Nitto
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).