[Sheepdog] [PATCH v4 02/12] sheep: modify the Makefile.am to run farm.

Christoph Hellwig hch at infradead.org
Wed Dec 28 14:13:46 CET 2011


> +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

The source files and libraries are added unconditionally here, but
configure.ac allows to disable farm and only checks for dependencies
conditionally.  Either of those should change to match the other.

Also in general you should only wire up new code after it has been added
to allow for bisection.



More information about the sheepdog mailing list