summaryrefslogtreecommitdiffstats
path: root/xlators/features/cloudsync/src/Makefile.am
diff options
context:
space:
mode:
authorSusant Palai <spalai@redhat.com>2018-05-22 19:55:27 +0530
committerAmar Tumballi <amarts@redhat.com>2018-05-30 03:26:25 +0000
commit62990c30fcec37f643b7631070de8baba276f0ba (patch)
tree14c46a3b15eacc3df318337da1e8a7d954efbfc6 /xlators/features/cloudsync/src/Makefile.am
parentcb4e0fa2cbd25ef4ab5b65c6a76a6aea90c0f835 (diff)
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 <spalai@redhat.com>
Diffstat (limited to 'xlators/features/cloudsync/src/Makefile.am')
-rw-r--r--xlators/features/cloudsync/src/Makefile.am13
1 files changed, 7 insertions, 6 deletions
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
-