Numerous fixes related to compiling for mingw
[m6w6/libmemcached] / Makefile.am
index c6b23a43cfc23626799c154045b9d4b12e6e821d..dcf1519afed67a55aec43171dc82cd45036b552e 100644 (file)
@@ -39,17 +39,29 @@ include libtest/include.am
 
 include libhashkit-1.0/include.am
 include libmemcached-1.0/include.am
+
+if BUILD_LIBMEMCACHED_PROTOCOL
 include libmemcachedprotocol-0.0/include.am
+endif
+
 include libmemcachedutil-1.0/include.am
 
 include clients/include.am
 include docs/include.am
 include man/include.am
+
+if BUILD_LIBMEMCACHED_PROTOCOL
 include example/include.am
+endif
+
 include libhashkit/include.am
 include libmemcached/include.am
 include libmemcachedutil/include.am
+
+if BUILD_LIBMEMCACHED_PROTOCOL
 include libmemcachedprotocol/include.am
+endif
+
 include libmemcachedinternal/include.am
 include libmemcachedinternal/util/include.am
 include poll/include.am
@@ -128,5 +140,5 @@ maintainer-clean-local:
        -rmdir build-aux
 
 install-website: html-local
-       @rm -r -f /var/www/libmemcached/*
+       -rm -r -f /var/www/libmemcached/*
        @cp -r docs/html /var/www/libmemcached