summaryrefslogtreecommitdiffstats
path: root/contrib/fuse-util/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/fuse-util/Makefile.am')
-rw-r--r--contrib/fuse-util/Makefile.am14
1 files changed, 14 insertions, 0 deletions
diff --git a/contrib/fuse-util/Makefile.am b/contrib/fuse-util/Makefile.am
new file mode 100644
index 00000000000..abbc10eb6d9
--- /dev/null
+++ b/contrib/fuse-util/Makefile.am
@@ -0,0 +1,14 @@
+bin_PROGRAMS = fusermount-glusterfs
+
+fusermount_glusterfs_SOURCES = fusermount.c mount_util.c $(CONTRIBDIR)/fuse-lib/mount-common.c
+noinst_HEADERS = $(CONTRIBDIR)/fuse-include/mount_util.h
+
+AM_CPPFLAGS = $(GF_CPPFLAGS) -DFUSE_UTIL -I$(CONTRIBDIR)/fuse-include -I$(CONTRIBDIR)/fuse-lib
+
+AM_CFLAGS = -Wall $(GF_CFLAGS)
+
+install-exec-hook:
+ -chown root $(DESTDIR)$(bindir)/fusermount-glusterfs
+ chmod u+s $(DESTDIR)$(bindir)/fusermount-glusterfs
+
+CLEANFILES =