Merge branch 'master' of git://github.com/rootfs/fio
[fio.git] / Makefile
index a0f0f718d31f2b082e4577c6b4e1dc48d2cdcfdf..59fae9c1d7433e9f3d696cb1a5d938d92f5c1a0d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -91,6 +91,14 @@ endif
 ifndef CONFIG_INET_ATON
   SOURCE += lib/inet_aton.c
 endif
+ifdef CONFIG_GFAPI
+  SOURCE += engines/glusterfs.c
+  SOURCE += engines/glusterfs_sync.c
+  SOURCE += engines/glusterfs_async.c
+  ifdef CONFIG_GF_FADVISE
+    CFLAGS += "-DGFAPI_USE_FADVISE"
+  endif
+endif
 
 ifeq ($(CONFIG_TARGET_OS), Linux)
   SOURCE += diskutil.c fifo.c blktrace.c cgroup.c trim.c engines/sg.c \