diff options
| author | Amar Tumballi <amarts@redhat.com> | 2019-06-28 22:51:37 +0530 |
|---|---|---|
| committer | Amar Tumballi <amarts@redhat.com> | 2019-08-16 05:37:03 +0000 |
| commit | 29cfe643cbcf7826375a3d52ff1865706a35bc38 (patch) | |
| tree | add22d6f9e8b8afaae089625526d521c53c8b33c /libglusterd/src/Makefile.am | |
| parent | a24288c5c9da9137eb1d5d487bc7cd11af01b88b (diff) | |
libglusterfs: remove dependency of rpc
Goal: 'libglusterfs' files shouldn't have any dependency outside of
the tree, specially the header files, shouldn't have '#include'
from outside the tree.
Fixes:
* Had to introduce libglusterd so, methods and structures required
for only mgmt/glusterd, and cli/ are separated from 'libglusterfs/'
* Remove rpc/xdr/gen from build, which was used mainly so
dependency for libglusterfs could be properly satisfied.
* Move rpcsvc_auth_data to client_t.h, so all dependencies could
be handled.
Updates: bz#1636297
Change-Id: I0e80243a5a3f4615e6fac6e1b947ad08a9363fce
Signed-off-by: Amar Tumballi <amarts@redhat.com>
Diffstat (limited to 'libglusterd/src/Makefile.am')
| -rw-r--r-- | libglusterd/src/Makefile.am | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/libglusterd/src/Makefile.am b/libglusterd/src/Makefile.am new file mode 100644 index 00000000000..684d2bac96b --- /dev/null +++ b/libglusterd/src/Makefile.am @@ -0,0 +1,31 @@ +libglusterd_la_CFLAGS = $(GF_CFLAGS) $(GF_DARWIN_LIBGLUSTERFS_CFLAGS) \ + -DDATADIR=\"$(localstatedir)\" + +libglusterd_la_CPPFLAGS = $(GF_CPPFLAGS) -D__USE_FILE_OFFSET64 \ + -DXLATORDIR=\"$(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator\" \ + -DXLATORPARENTDIR=\"$(libdir)/glusterfs/$(PACKAGE_VERSION)\" \ + -DXXH_NAMESPACE=GF_ -D__USE_LARGEFILE64 \ + -I$(CONTRIBDIR)/rbtree \ + -I$(CONTRIBDIR)/libexecinfo ${ARGP_STANDALONE_CPPFLAGS} \ + -DSBIN_DIR=\"$(sbindir)\" -I$(CONTRIBDIR)/timer-wheel \ + -I$(CONTRIBDIR)/xxhash \ + -I$(top_srcdir)/rpc/xdr/src -I$(top_builddir)/rpc/xdr/src \ + -I$(top_srcdir)/rpc/rpc-lib/src/ + +libglusterd_la_LIBADD = $(ZLIB_LIBS) $(MATH_LIB) $(UUID_LIBS) +libglusterd_la_LDFLAGS = -version-info $(LIBGLUSTERFS_LT_VERSION) $(GF_LDFLAGS) \ + -export-symbols $(top_srcdir)/libglusterd/src/libglusterd.sym + +lib_LTLIBRARIES = libglusterd.la + +libglusterd_la_SOURCES = gd-common-utils.c + +libglusterd_la_HEADERS = gd-common-utils.h + +libglusterd_ladir = $(includedir)/glusterfs + +noinst_HEADERS = gd-common-utils.h + +EXTRA_DIST = libglusterd.sym + +CLEANFILES = |
