DEBUGFLAGS = -DFIO_INC_DEBUG
CPPFLAGS= -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 \
-D__EXTENSIONS__ $(DEBUGFLAGS)
-OPTFLAGS= -O2 -fno-omit-frame-pointer -g
+OPTFLAGS= -O2 -fno-omit-frame-pointer -g $(EXTFLAGS)
CFLAGS = -std=gnu99 -Wall $(OPTFLAGS)
LIBS = -lpthread -lm -ldl -laio -lrt -lnsl -lsocket
PROGS = fio
SOURCE = gettime.c fio.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 rbtree.c \
fifo.c smalloc.c filehash.c lib/strsep.c helpers.c solaris.c \
- profile.c debug.c lib/rand.c lib/flist_sort.c lib/num2str.c \
+ profile.c debug.c lib/rand.c lib/num2str.c \
$(wildcard crc/*.c) engines/cpu.c engines/mmap.c engines/posixaio.c \
engines/sync.c engines/null.c engines/net.c engines/solarisaio.c