summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/legacy/server/src/Makefile.am
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2010-06-21 04:26:00 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-06-21 20:21:13 -0700
commit002ab96fd30f8924533fc454ecea00be04c013d5 (patch)
tree83832c397d9e47007bad5479a76c0a394229aa6a /xlators/protocol/legacy/server/src/Makefile.am
parentfdd20492638fe98a62b5e6d5e82f18cf4799fd1a (diff)
make rpc protocol as default, and move the old one to legacy
Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Raghavendra G <raghavendra@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 875 (Implement a new protocol to provide proper backward/forward compatibility) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=875
Diffstat (limited to 'xlators/protocol/legacy/server/src/Makefile.am')
-rw-r--r--xlators/protocol/legacy/server/src/Makefile.am12
1 files changed, 7 insertions, 5 deletions
diff --git a/xlators/protocol/legacy/server/src/Makefile.am b/xlators/protocol/legacy/server/src/Makefile.am
index 87d3042c534..d51b5d07f6a 100644
--- a/xlators/protocol/legacy/server/src/Makefile.am
+++ b/xlators/protocol/legacy/server/src/Makefile.am
@@ -1,11 +1,11 @@
-xlator_LTLIBRARIES = server.la
-xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/protocol
+xlator_LTLIBRARIES = server-old.la
+xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/legacy/protocol
-server_la_LDFLAGS = -module -avoidversion
+server_old_la_LDFLAGS = -module -avoidversion
-server_la_SOURCES = server-protocol.c server-resolve.c server-helpers.c
-server_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la \
+server_old_la_SOURCES = server-protocol.c server-resolve.c server-helpers.c
+server_old_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la \
$(top_builddir)/xlators/protocol/legacy/lib/src/libgfproto.la \
$(top_builddir)/xlators/protocol/lib/src/libgfproto1.la
@@ -20,3 +20,5 @@ AM_CFLAGS = -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -D$(GF_HOST_OS) \
CLEANFILES =
+install-data-hook:
+ ln -sf server.so $(DESTDIR)$(xlatordir)/server-old.so