]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Move ceph-dencoder build to client
authorBoris Ranto <branto@redhat.com>
Mon, 13 Apr 2015 10:38:58 +0000 (12:38 +0200)
committerKen Dreyer <kdreyer@redhat.com>
Thu, 16 Apr 2015 16:14:38 +0000 (10:14 -0600)
The patch simply moves the ceph-dencoder build from server part of the
Makefiles to client part of the Makefiles.

Signed-off-by: Boris Ranto <branto@redhat.com>
src/test/Makefile-client.am
src/test/Makefile-server.am

index 824783b9b12a8e1a9c78c76f585741588b65cffd..e83a13107b996f5f61a2b0ac8a08d729df709b31 100644 (file)
@@ -1,3 +1,27 @@
+# This should use LIBMDS_TYPES once it exists
+ceph_dencoder_SOURCES = \
+       test/encoding/ceph_dencoder.cc \
+       $(DENCODER_SOURCES)
+ceph_dencoder_LDADD = \
+       $(LIBRBD_TYPES) \
+       $(LIBOSD_TYPES) \
+       $(LIBOS_TYPES) \
+       $(LIBMON_TYPES) \
+       $(DENCODER_DEPS) \
+       $(CEPH_GLOBAL)
+
+# These should always use explicit _CFLAGS/_CXXFLAGS so avoid basename conflicts
+ceph_dencoder_CFLAGS = ${AM_CFLAGS}
+ceph_dencoder_CXXFLAGS = ${AM_CXXFLAGS}
+
+if COMPILER_HAS_VTA
+ceph_dencoder_CFLAGS += -fno-var-tracking-assignments
+ceph_dencoder_CXXFLAGS += -fno-var-tracking-assignments
+endif
+
+bin_PROGRAMS += ceph-dencoder
+
+
 if WITH_RADOS
 
 libradostest_la_SOURCES = \
index 95ed80cd83cfb23405d95f9492c53bacc9a963c1..c8229632f4c60f0a296eb2cf5f1dfe5e5f45c58f 100644 (file)
@@ -202,30 +202,6 @@ check_PROGRAMS += unittest_lfnindex
 
 if WITH_MDS
 
-# This should go to client once LIBMDS_TYPES exists
-ceph_dencoder_SOURCES = \
-       test/encoding/ceph_dencoder.cc \
-       $(DENCODER_SOURCES)
-ceph_dencoder_LDADD = \
-       $(LIBRBD_TYPES) \
-       $(LIBOSD_TYPES) \
-       $(LIBOS_TYPES) \
-       $(LIBMDS) \
-       $(LIBMON_TYPES) \
-       $(DENCODER_DEPS) \
-       $(CEPH_GLOBAL)
-
-# These should always use explicit _CFLAGS/_CXXFLAGS so avoid basename conflicts
-ceph_dencoder_CFLAGS = ${AM_CFLAGS}
-ceph_dencoder_CXXFLAGS = ${AM_CXXFLAGS}
-
-if COMPILER_HAS_VTA
-ceph_dencoder_CFLAGS += -fno-var-tracking-assignments
-ceph_dencoder_CXXFLAGS += -fno-var-tracking-assignments
-endif
-
-bin_PROGRAMS += ceph-dencoder
-
 unittest_mds_authcap_SOURCES = test/mds/TestMDSAuthCaps.cc 
 unittest_mds_authcap_LDADD = $(LIBMDS) $(UNITTEST_LDADD) $(CEPH_GLOBAL)
 unittest_mds_authcap_CXXFLAGS = $(UNITTEST_CXXFLAGS)