From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7678 invoked by alias); 11 Aug 2009 14:48:52 -0000 Received: (qmail 7672 invoked by alias); 11 Aug 2009 14:48:51 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Check-By: sourceware.org X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bastion2.fedora.phx.redhat.com Subject: cluster: STABLE3 - fence: make libfenced shared To: cluster-cvs-relay@redhat.com X-Project: Cluster Project X-Git-Module: cluster.git X-Git-Refname: refs/heads/STABLE3 X-Git-Reftype: branch X-Git-Oldrev: 3a604b47f17206bd57d85a4c2580aa0202652e42 X-Git-Newrev: 91dd96a00b0aa756b65dce961b82efa532b41053 From: "Fabio M. Di Nitto" Message-Id: <20090811144824.04C791201D6@lists.fedorahosted.org> Date: Tue, 11 Aug 2009 14:48:00 -0000 X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254 Mailing-List: contact cluster-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: cluster-cvs-owner@sourceware.org X-SW-Source: 2009-q3/txt/msg00180.txt.bz2 Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=91dd96a00b0aa756b65dce961b82efa532b41053 Commit: 91dd96a00b0aa756b65dce961b82efa532b41053 Parent: 3a604b47f17206bd57d85a4c2580aa0202652e42 Author: Fabio M. Di Nitto AuthorDate: Tue Aug 11 16:46:38 2009 +0200 Committer: Fabio M. Di Nitto 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 --- 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}