If cannot disable-server, the user has to always compile backend storage part,
even only want to compile the client. Cherry-pick cannot be done because ceph
master doesn't have Makefile.am any more.
Signed-off-by: Pan Liu <pan.liu@istuary.com>
common/PluginRegistry.cc: ./ceph_ver.h
+libcommon_internal_la_SOURCES += \
+ common/ceph_json.cc \
+ common/util.cc
+
if ENABLE_SERVER
libcommon_internal_la_SOURCES += \
common/xattr.c \
common/ipaddr.cc \
- common/ceph_json.cc \
- common/util.cc \
common/pick_address.cc
endif