public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* fence: master - fence: make libfenced shared
@ 2009-08-11 17:35 Fabio M. Di Nitto
  0 siblings, 0 replies; only message in thread
From: Fabio M. Di Nitto @ 2009-08-11 17:35 UTC (permalink / raw)
  To: cluster-cvs-relay

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}


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-08-11 17:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-11 17:35 fence: master - 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).