summaryrefslogtreecommitdiffstats
path: root/xlators/experimental/posix2
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/experimental/posix2')
-rw-r--r--xlators/experimental/posix2/ds/src/Makefile.am4
-rw-r--r--xlators/experimental/posix2/mds/src/Makefile.am4
2 files changed, 6 insertions, 2 deletions
diff --git a/xlators/experimental/posix2/ds/src/Makefile.am b/xlators/experimental/posix2/ds/src/Makefile.am
index 7b9e2739fc8..d77ef8cb540 100644
--- a/xlators/experimental/posix2/ds/src/Makefile.am
+++ b/xlators/experimental/posix2/ds/src/Makefile.am
@@ -1,5 +1,7 @@
-xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/experimental
+if WITH_SERVER
xlator_LTLIBRARIES = posix2-ds.la
+endif
+xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/experimental
posix2_ds_sources = posix2-ds-main.c
diff --git a/xlators/experimental/posix2/mds/src/Makefile.am b/xlators/experimental/posix2/mds/src/Makefile.am
index fce1871b01a..c6411f46114 100644
--- a/xlators/experimental/posix2/mds/src/Makefile.am
+++ b/xlators/experimental/posix2/mds/src/Makefile.am
@@ -1,5 +1,7 @@
-xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/experimental
+if WITH_SERVER
xlator_LTLIBRARIES = posix2-mds.la
+endif
+xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/experimental
posix2_mds_sources = posix2-mds-main.c