configure: add --enable-gfio
[fio.git] / Makefile
index dbf3049497ac5a4d52fbffb6ce0b212cf84007cb..9d3465c40086719b52ccc161d8ff3455992b5637 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -8,9 +8,6 @@ PROGS   = fio
 SCRIPTS = fio_generate_plots
 UNAME  := $(shell uname)
 
 SCRIPTS = fio_generate_plots
 UNAME  := $(shell uname)
 
-GTK_CFLAGS = `pkg-config --cflags gtk+-2.0 gthread-2.0`
-GTK_LDFLAGS = `pkg-config --libs gtk+-2.0 gthread-2.0`
-
 ifneq ($(wildcard config-host.mak),)
 all:
 include config-host.mak
 ifneq ($(wildcard config-host.mak),)
 all:
 include config-host.mak
@@ -25,6 +22,10 @@ all:
 include config-host.mak
 endif
 
 include config-host.mak
 endif
 
+ifdef CONFIG_GFIO
+  PROGS += gfio
+endif
+
 SOURCE := gettime.c ioengines.c init.c stat.c log.c time.c filesetup.c \
                eta.c verify.c memory.c io_u.c parse.c mutex.c options.c \
                lib/rbtree.c smalloc.c filehash.c profile.c debug.c lib/rand.c \
 SOURCE := gettime.c ioengines.c init.c stat.c log.c time.c filesetup.c \
                eta.c verify.c memory.c io_u.c parse.c mutex.c options.c \
                lib/rbtree.c smalloc.c filehash.c profile.c debug.c lib/rand.c \