rgw/Makefile.am: Populate DENCODER_SOURCES properly

Dencoder is built if ENABLE_CLIENT is set. However, the rgw/Makefile.am
populated DENCODER_SOURCES only if WITH_RADOSGW was set. The patch fixes
this and populates DENCODER_SOURES if ENABLE_CLIENT is set.

Signed-off-by: Boris Ranto <branto@redhat.com>
This commit is contained in:
Boris Ranto 2015-04-13 12:33:00 +02:00
parent fb11c74d1d
commit 0b264331f5

View File

@ -1,4 +1,13 @@
if ENABLE_CLIENT
# inject rgw stuff in the decoder testcase
DENCODER_SOURCES += \
rgw/rgw_dencoder.cc \
rgw/rgw_acl.cc \
rgw/rgw_common.cc \
rgw/rgw_env.cc \
rgw/rgw_json_enc.cc
if WITH_RADOS
if WITH_RADOSGW
@ -107,14 +116,6 @@ ceph_rgw_jsonparser_SOURCES = \
ceph_rgw_jsonparser_LDADD = $(LIBRGW) $(LIBRGW_DEPS) $(CEPH_GLOBAL)
bin_DEBUGPROGRAMS += ceph_rgw_jsonparser
# inject rgw stuff in the decoder testcase
DENCODER_SOURCES += \
rgw/rgw_dencoder.cc \
rgw/rgw_acl.cc \
rgw/rgw_common.cc \
rgw/rgw_env.cc \
rgw/rgw_json_enc.cc
noinst_HEADERS += \
rgw/logrotate.conf \