Skip to contentSkip to conversation

cluster/group/dlm_controld Makefile member_cman.c

Cluster-devel [email protected] 1 participant 1 message Jun 30, 2006

lore
Share & tools
lore
#0 lore raw

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

Modified files:
group/dlm_controld: Makefile member_cman.c

Log message:
build against installed cman lib and header

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

group/dlm_controld/Makefile +1 -3
@@ -18,7 +18,6 @@
 CFLAGS+= -g -I${incdir} -I${top_srcdir}/config
 
 CFLAGS+= -idirafter ${KERNEL_SRC}/include/linux \
-	-I../../cman/lib/ \
 	-I../../group/lib/ \
 	-I../../ccs/lib/ \
 	-I../include/
@@ -35,10 +34,9 @@
 		member_cman.o \
 		group.o \
 		action.o \
-		../../cman/lib/libcman.a \
 		../lib/libgroup.a \
 		../../ccs/lib/libccs.a
-	$(CC) $(LDFLAGS) -o $@ $^
+	$(CC) $(LDFLAGS) -lcman -o $@ $^
 
 main.o: main.c
 	$(CC) $(CFLAGS) -c -o $@ $<
group/dlm_controld/member_cman.c +1 -1
@@ -10,8 +10,8 @@
 *******************************************************************************
 ******************************************************************************/
 
+#include <libcman.h>
 #include "dlm_daemon.h"
-#include "libcman.h"
 
 static cman_handle_t	ch;
 static cman_node_t      old_nodes[MAX_NODES];