From mboxrd@z Thu Jan 1 00:00:00 1970 From: cfeist@sourceware.org Date: 5 Oct 2006 22:57:47 -0000 Subject: [Cluster-devel] cluster/fence/agents/xvm Makefile fence_xvmd.c ... Message-ID: <20061005225747.30452.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit CVSROOT: /cvs/cluster Module name: cluster Changes by: cfeist at sourceware.org 2006-10-05 22:57:47 Modified files: fence/agents/xvm: Makefile fence_xvmd.c virt.c virt.h Log message: Update building for xvm fence agent to build cleanly in brew. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/xvm/Makefile.diff?cvsroot=cluster&r1=1.1&r2=1.2 http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/xvm/fence_xvmd.c.diff?cvsroot=cluster&r1=1.2&r2=1.3 http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/xvm/virt.c.diff?cvsroot=cluster&r1=1.1&r2=1.2 http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/xvm/virt.h.diff?cvsroot=cluster&r1=1.1&r2=1.2 --- cluster/fence/agents/xvm/Makefile 2006/10/05 16:11:36 1.1 +++ cluster/fence/agents/xvm/Makefile 2006/10/05 22:57:47 1.2 @@ -23,13 +23,14 @@ INCLUDE=-I${top_srcdir}/include -I${top_srcdir}/config \ -I/usr/include/openais -I/usr/include/libvirt \ - -I/usr/include/nss3 -I/usr/include/nspr4 + -I/usr/include/nss3 -I/usr/include/nspr4 \ + -I../../../cman/lib CFLAGS+=-DFENCE_RELEASE_NAME=\"${RELEASE}\" \ -Wall -Werror -Wstrict-prototypes -Wshadow -ggdb -LIBS+=-L../../../cman/lib -L../../../ccs/lib -L/usr/lib/openais \ - -lccs -lcman -ldlm -lnss3 -lvirt -lSaCkpt +LIBS+=-L../../../cman/lib -L../../../ccs/lib -L${libdir}/openais \ + -L../../../dlm/lib -lccs -lcman -ldlm -lnss3 -lvirt -lSaCkpt all: ${TARGETS} --- cluster/fence/agents/xvm/fence_xvmd.c 2006/10/05 18:48:58 1.2 +++ cluster/fence/agents/xvm/fence_xvmd.c 2006/10/05 22:57:47 1.3 @@ -40,7 +40,6 @@ #include #include #include -#include #include #include @@ -51,6 +50,7 @@ #include "mcast.h" #include "tcp.h" #include "virt.h" +#include "libcman.h" static int running = 1; --- cluster/fence/agents/xvm/virt.c 2006/10/05 16:11:36 1.1 +++ cluster/fence/agents/xvm/virt.c 2006/10/05 22:57:47 1.2 @@ -19,7 +19,7 @@ #include #include #include -#include +#include #include #include #include --- cluster/fence/agents/xvm/virt.h 2006/10/05 16:11:36 1.1 +++ cluster/fence/agents/xvm/virt.h 2006/10/05 22:57:47 1.2 @@ -18,7 +18,7 @@ */ #ifndef _VIRT_H #define _VIRT_H -#include +#include #include #include