[Sheepdog] [PATCH v4 02/12] sheep: modify the Makefile.am to run farm.
Liu Yuan
namei.unix at gmail.com
Sun Dec 25 16:42:48 CET 2011
From: Liu Yuan <tailai.ly at taobao.com>
Drive farm to work!
Signed-off-by: Liu Yuan <tailai.ly at taobao.com>
---
sheep/Makefile.am | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/sheep/Makefile.am b/sheep/Makefile.am
index 146b421..f7c0447 100644
--- a/sheep/Makefile.am
+++ b/sheep/Makefile.am
@@ -36,12 +36,14 @@ if BUILD_ACCORD
sheep_SOURCES += cluster/accord.c
endif
-sheep_LDADD = ../lib/libsheepdog.a -lpthread \
+sheep_SOURCES += farm/sha1_file.c farm/trunk.c farm/snap.c farm/farm.c
+
+sheep_LDADD = ../lib/libsheepdog.a -lpthread -lssl -lz \
$(libcpg_LIBS) $(libcfg_LIBS) $(libacrd_LIBS)
sheep_DEPENDENCIES = ../lib/libsheepdog.a
-noinst_HEADERS = work.h sheep_priv.h cluster.h strbuf.h
+noinst_HEADERS = work.h sheep_priv.h cluster.h strbuf.h farm.h
EXTRA_DIST =
--
1.7.8.rc3
More information about the sheepdog
mailing list