All of lore.kernel.org
 help / color / mirror / Atom feed
* [Cluster-devel] cluster/group/gfs_controld Makefile cpg.c memb ...
@ 2006-06-30 15:35 teigland
  0 siblings, 0 replies; only message in thread
From: teigland @ 2006-06-30 15:35 UTC (permalink / raw)
  To: cluster-devel.redhat.com

CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	teigland at sourceware.org	2006-06-30 15:35:23

Modified files:
	group/gfs_controld: Makefile cpg.c member_cman.c 

Log message:
	build against installed headers and libs for cman and openais

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/group/gfs_controld/Makefile.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/group/gfs_controld/cpg.c.diff?cvsroot=cluster&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/group/gfs_controld/member_cman.c.diff?cvsroot=cluster&r1=1.2&r2=1.3

--- cluster/group/gfs_controld/Makefile	2006/06/15 20:41:46	1.2
+++ cluster/group/gfs_controld/Makefile	2006/06/30 15:35:23	1.3
@@ -20,9 +20,8 @@
 	-I${incdir} \
 	-I${top_srcdir}/config \
 	-I../include/ \
-	-I../lib/ \
-	-I../../cman/lib/ \
-	-I../../cman/daemon/openais/trunk/include/
+	-I../lib/
+LDFLAGS+= -L/usr/lib/openais -L/usr/lib
 
 TARGET=gfs_controld
 
@@ -37,10 +36,8 @@
 		group.o \
 		plock.o \
 		recover.o \
-		../../cman/lib/libcman.a \
-		../../cman/daemon/openais/trunk/lib/libcpg.a \
 		../lib/libgroup.a
-	$(CC) $(LDFLAGS) -o $@ $^
+	$(CC) $(LDFLAGS) -lcman -lcpg -o $@ $^
 
 
 main.o: main.c
--- cluster/group/gfs_controld/cpg.c	2006/06/15 20:41:46	1.3
+++ cluster/group/gfs_controld/cpg.c	2006/06/30 15:35:23	1.4
@@ -10,8 +10,8 @@
 *******************************************************************************
 ******************************************************************************/
 
+#include <openais/cpg.h>
 #include "lock_dlm.h"
-#include "cpg.h"
 
 static cpg_handle_t	daemon_handle;
 static struct cpg_name	daemon_name;
--- cluster/group/gfs_controld/member_cman.c	2006/06/15 20:41:46	1.2
+++ cluster/group/gfs_controld/member_cman.c	2006/06/30 15:35:23	1.3
@@ -18,9 +18,9 @@
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <arpa/inet.h>
+#include <libcman.h>
 
 #include "lock_dlm.h"
-#include "libcman.h"
 
 int			our_nodeid;
 char *			clustername;



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

only message in thread, other threads:[~2006-06-30 15:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-30 15:35 [Cluster-devel] cluster/group/gfs_controld Makefile cpg.c memb teigland

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.