[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] [PATCH 008/008] rgmanager use internal includes



rgmanager requires also ccs and dlm to build and link.

(this patch depends on the previous cman include fixes)

diff -urNad redhat-cluster-suite-2.20060621~/rgmanager/src/clulib/Makefile redhat-cluster-suite-2.20060621/rgmanager/src/clulib/Makefile
--- redhat-cluster-suite-2.20060621~/rgmanager/src/clulib/Makefile	2006-06-21 11:22:11.000000000 +0200
+++ redhat-cluster-suite-2.20060621/rgmanager/src/clulib/Makefile	2006-06-21 11:22:12.000000000 +0200
@@ -14,7 +14,7 @@
 UNINSTALL=${top_srcdir}/scripts/uninstall.pl
 
 include ${top_srcdir}/make/defines.mk
-INCLUDE += -I $(top_srcdir)/include -I $(top_srcdir)/../cman/lib
+INCLUDE += -I $(top_srcdir)/include -I $(top_srcdir)/../cman/lib -I $(top_srcdir)/../ccs/lib -I $(top_srcdir)/../dlm/lib
 
 CFLAGS+= -g -I${incdir} -DCMAN_RELEASE_NAME=\"${RELEASE}\"
 
diff -urNad redhat-cluster-suite-2.20060621~/rgmanager/src/daemons/Makefile redhat-cluster-suite-2.20060621/rgmanager/src/daemons/Makefile
--- redhat-cluster-suite-2.20060621~/rgmanager/src/daemons/Makefile	2006-06-21 11:22:11.000000000 +0200
+++ redhat-cluster-suite-2.20060621/rgmanager/src/daemons/Makefile	2006-06-21 11:22:12.000000000 +0200
@@ -14,7 +14,7 @@
 UNINSTALL=${top_srcdir}/scripts/uninstall.pl
 
 include ${top_srcdir}/make/defines.mk
-INCLUDE += -I $(top_srcdir)/include -I $(top_srcdir)/../cman/lib
+INCLUDE += -I $(top_srcdir)/include -I $(top_srcdir)/../cman/lib -I $(top_srcdir)/../ccs/lib -I $(top_srcdir)/../dlm/lib
 
 CFLAGS+= -g -I${incdir} -I/usr/include/libxml2 -L${libdir}
 
@@ -22,7 +22,7 @@
 
 CFLAGS+= -L ../clulib 
 
-LDFLAGS+= -lclulib -lxml2 -lpthread -ldl -L../../../cman/lib
+LDFLAGS+= -lclulib -lxml2 -lpthread -ldl -L../../../cman/lib -L../../../ccs/lib -L../../../dlm/lib
 TARGETS=clurgmgrd clurmtabd rg_test
 
 all: ${TARGETS}
diff -urNad redhat-cluster-suite-2.20060621~/rgmanager/src/utils/Makefile redhat-cluster-suite-2.20060621/rgmanager/src/utils/Makefile
--- redhat-cluster-suite-2.20060621~/rgmanager/src/utils/Makefile	2006-06-21 11:22:11.000000000 +0200
+++ redhat-cluster-suite-2.20060621/rgmanager/src/utils/Makefile	2006-06-21 11:22:28.000000000 +0200
@@ -14,7 +14,7 @@
 UNINSTALL=${top_srcdir}/scripts/uninstall.pl
 
 include ${top_srcdir}/make/defines.mk
-INCLUDE += -I $(top_srcdir)/include -I $(top_srcdir)/../cman/lib
+INCLUDE += -I $(top_srcdir)/include -I $(top_srcdir)/../cman/lib -I $(top_srcdir)/../ccs/lib -I $(top_srcdir)/../dlm/lib
 
 CFLAGS+= -g -I${incdir}
 
@@ -22,7 +22,7 @@
 
 CFLAGS+= -L${libdir} -DPACKAGE_VERSION=\"${RELEASE}\"
 
-LDFLAGS+= -L../../../cman/lib -lcman -lpthread -ldl -lncurses -L../clulib -lclulib -lccs
+LDFLAGS+= -L../../../cman/lib -L../../../ccs/lib -lcman -lpthread -ldl -lncurses -L../clulib -lclulib -lccs
 TARGETS=clubufflush clufindhostname clustat clusvcadm clulog clunfslock
 
 all: ${TARGETS}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]