From 62990c30fcec37f643b7631070de8baba276f0ba Mon Sep 17 00:00:00 2001 From: Susant Palai Date: Tue, 22 May 2018 19:55:27 +0530 Subject: cloudsync: Adding s3 plugin for cloudsync This is a plugin which provides an interface to retrive files from amazon-s3 which are archived in to s3. Users need to give the above information for cloudsync to retrieve the file from s3. TODO: 1- A separate commit in to developer-guide will detail about the usage of this plugin in more detail. 2- Need to create target file in aws-bucket with "gfid" names. Helps avoiding name collisions. Change-Id: I2e4a586f4e3f86164de9178e37673a07f317e7d9 Updates: #387 Signed-off-by: Susant Palai --- xlators/features/cloudsync/src/Makefile.am | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'xlators/features/cloudsync/src/Makefile.am') diff --git a/xlators/features/cloudsync/src/Makefile.am b/xlators/features/cloudsync/src/Makefile.am index 4e8319c9d34..0f3381f1d7d 100644 --- a/xlators/features/cloudsync/src/Makefile.am +++ b/xlators/features/cloudsync/src/Makefile.am @@ -1,3 +1,5 @@ +SUBDIRS = cloudsync-plugins + xlator_LTLIBRARIES = cloudsync.la xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features @@ -10,9 +12,9 @@ CLOUDSYNC_BLD = $(top_builddir)/xlators/features/cloudsync/src cloudsynccommon_sources = $(CLOUDSYNC_SRC)/cloudsync-common.c noinst_HEADERS = $(CLOUDSYNC_BLD)/cloudsync.h \ - $(CLOUDSYNC_BLD)/cloudsync-mem-types.h \ - $(CLOUDSYNC_BLD)/cloudsync-messages.h \ - $(CLOUDSYNC_BLD)/cloudsync-common.h + $(CLOUDSYNC_BLD)/cloudsync-mem-types.h \ + $(CLOUDSYNC_BLD)/cloudsync-messages.h \ + $(CLOUDSYNC_BLD)/cloudsync-common.h cloudsync_la_SOURCES = $(cloudsync_sources) $(cloudsynccommon_sources) @@ -23,8 +25,8 @@ cloudsync_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) cloudsync_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -AM_CPPFLAGS = $(GF_CPPFLAGS) -I$(top_srcdir)/libglusterfs/src -I$(top_srcdir)/rpc/xdr/src -I$(top_builddir)/rpc/xdr/src - +AM_CPPFLAGS = $(GF_CPPFLAGS) -I$(top_srcdir)/libglusterfs/src -I$(top_srcdir)/rpc/xdr/src -I$(top_builddir)/rpc/xdr/src \ + -DCS_PLUGINDIR=\"$(libdir)/glusterfs/$(PACKAGE_VERSION)/cloudsync-plugins\" AM_CFLAGS = -Wall -fno-strict-aliasing $(GF_CFLAGS) noinst_PYTHON = cloudsync-fops-c.py cloudsync-fops-h.py @@ -42,4 +44,3 @@ CLEANFILES = $(nodist_cloudsync_la_SOURCES) uninstall-local: rm -f $(DESTDIR)$(xlatordir)/cloudsync.so - -- cgit