[Sheepdog] [PATCH v3 1/4] sheep: modify Makefile.am for candy helpers.

Liu Yuan namei.unix at gmail.com
Thu Nov 17 10:50:01 CET 2011


From: Liu Yuan <tailai.ly at taobao.com>


Signed-off-by: Liu Yuan <tailai.ly at taobao.com>
---
 lib/Makefile.am   |    2 +-
 sheep/Makefile.am |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/Makefile.am b/lib/Makefile.am
index cb46c9a..45b21a4 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -4,4 +4,4 @@ INCLUDES                = -I$(top_builddir)/include -I$(top_srcdir)/include
 
 noinst_LIBRARIES	= libsheepdog.a
 
-libsheepdog_a_SOURCES	= event.c logger.c net.c
+libsheepdog_a_SOURCES	= event.c logger.c net.c util.c
diff --git a/sheep/Makefile.am b/sheep/Makefile.am
index d86898b..55c35c7 100644
--- a/sheep/Makefile.am
+++ b/sheep/Makefile.am
@@ -24,7 +24,7 @@ INCLUDES		= -I$(top_builddir)/include -I$(top_srcdir)/include $(libcpg_CFLAGS) $
 sbin_PROGRAMS		= sheep
 
 sheep_SOURCES		= sheep.c group.c sdnet.c store.c vdi.c work.c journal.c ops.c \
-			  cluster/local.c
+			  cluster/local.c strbuf.c
 if BUILD_COROSYNC
 sheep_SOURCES		+= cluster/corosync.c
 endif
@@ -36,7 +36,7 @@ sheep_LDADD	  	= $(libcpg_LIBS) $(libcfg_LIBS) ../lib/libsheepdog.a -lpthread
 sheep_DEPENDENCIES	= ../lib/libsheepdog.a
 
 
-noinst_HEADERS		= work.h sheep_priv.h cluster.h
+noinst_HEADERS		= work.h sheep_priv.h cluster.h strbuf.h
 
 EXTRA_DIST		= 
 
-- 
1.7.6.1




More information about the sheepdog mailing list