IF (MEMCACHED_USE_GREENSTACK)
    LIST(APPEND MEMCACHED_GREENSTACK_LIBS greenstack)
    LIST(APPEND MEMCACHED_GREENSTACK_SRC
         client_greenstack_connection.cc
         client_greenstack_connection.h)
ENDIF (MEMCACHED_USE_GREENSTACK)

ADD_LIBRARY(mc_client_connection STATIC
            ${MEMCACHED_GREENSTACK_SRC}
            client_connection.h
            client_connection.cc
            client_mcbp_commands.cc
            client_mcbp_commands.h
            client_mcbp_connection.cc
            client_mcbp_connection.h)

TARGET_LINK_LIBRARIES(mc_client_connection
                      mcbp
                      cbsasl
                      memcached_rbac
                      ${MEMCACHED_GREENSTACK_LIBS}
                      ${COUCHBASE_NETWORK_LIBS}
                      ${OPENSSL_LIBRARIES})

ADD_LIBRARY(mc_client_connection STATIC
            client_connection.h
            client_connection.cc
            client_mcbp_commands.cc
            client_mcbp_commands.h
            client_mcbp_connection.cc
            client_mcbp_connection.h)

TARGET_LINK_LIBRARIES(mc_client_connection
                      mcbp
                      cbsasl
                      memcached_rbac
                      ${COUCHBASE_NETWORK_LIBS}
                      ${OPENSSL_LIBRARIES})

Remove greenstack code from internal client
MB-24309: Remove greenstack code from internal client

Change-Id: Ic9d89698c91e6babecd31a7f246591b777dae095
Reviewed-on: http://review.couchbase.org/79200
Tested-by: Build Bot <80754af91bfb6d1073585b046fe0a474ce868509@couchbase.com>
Reviewed-by: Dave Rigby <a09264da4832c7ff1d3bf1608a19f4b870f93750@couchbase.com>
