projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
strcpy: kill last of the suspect ones
[fio.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index 8c2c514607eae6f47d61cf0cce88484c49a0d8e3..3c9e0ee467fe72256f8d0cd2916d62ec7a603d64 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-35,7
+35,7
@@
SOURCE := gettime.c ioengines.c init.c stat.c log.c time.c filesetup.c \
cconv.c lib/prio_tree.c json.c lib/zipf.c lib/axmap.c \
lib/lfsr.c gettime-thread.c helpers.c lib/flist_sort.c \
lib/hweight.c lib/getrusage.c idletime.c td_error.c \
cconv.c lib/prio_tree.c json.c lib/zipf.c lib/axmap.c \
lib/lfsr.c gettime-thread.c helpers.c lib/flist_sort.c \
lib/hweight.c lib/getrusage.c idletime.c td_error.c \
- profiles/tiobench.c profiles/act.c io_u_queue.c
+ profiles/tiobench.c profiles/act.c io_u_queue.c
filelock.c
ifdef CONFIG_64BIT_LLP64
CFLAGS += -DBITS_PER_LONG=32
ifdef CONFIG_64BIT_LLP64
CFLAGS += -DBITS_PER_LONG=32
@@
-76,6
+76,9
@@
endif
ifdef CONFIG_WINDOWSAIO
SOURCE += engines/windowsaio.c
endif
ifdef CONFIG_WINDOWSAIO
SOURCE += engines/windowsaio.c
endif
+ifdef CONFIG_RBD
+ SOURCE += engines/rbd.c
+endif
ifndef CONFIG_STRSEP
SOURCE += lib/strsep.c
endif
ifndef CONFIG_STRSEP
SOURCE += lib/strsep.c
endif
@@
-132,7
+135,7
@@
ifneq (,$(findstring CYGWIN,$(CONFIG_TARGET_OS)))
SOURCE := $(filter-out engines/mmap.c,$(SOURCE))
SOURCE += os/windows/posix.c
LIBS += -lpthread -lpsapi -lws2_32
SOURCE := $(filter-out engines/mmap.c,$(SOURCE))
SOURCE += os/windows/posix.c
LIBS += -lpthread -lpsapi -lws2_32
- CFLAGS += -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format
+ CFLAGS += -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format
-static
endif
OBJS = $(SOURCE:.c=.o)
endif
OBJS = $(SOURCE:.c=.o)
@@
-274,7
+277,7
@@
clean: FORCE
-rm -f .depend $(FIO_OBJS) $(GFIO_OBJS) $(OBJS) $(T_OBJS) $(PROGS) $(T_PROGS) core.* core gfio FIO-VERSION-FILE *.d config-host.mak config-host.h
distclean: clean FORCE
-rm -f .depend $(FIO_OBJS) $(GFIO_OBJS) $(OBJS) $(T_OBJS) $(PROGS) $(T_PROGS) core.* core gfio FIO-VERSION-FILE *.d config-host.mak config-host.h
distclean: clean FORCE
- @rm -f cscope.out
+ @rm -f cscope.out
fio.pdf fio_generate_plots.pdf fio2gnuplot.pdf
cscope:
@cscope -b -R
cscope:
@cscope -b -R
@@
-282,6
+285,11
@@
cscope:
tools/plot/fio2gnuplot.1:
@cat tools/plot/fio2gnuplot.manpage | txt2man -t fio2gnuplot > tools/plot/fio2gnuplot.1
tools/plot/fio2gnuplot.1:
@cat tools/plot/fio2gnuplot.manpage | txt2man -t fio2gnuplot > tools/plot/fio2gnuplot.1
+doc: tools/plot/fio2gnuplot.1
+ @man -t ./fio.1 | ps2pdf - fio.pdf
+ @man -t tools/fio_generate_plots.1 | ps2pdf - fio_generate_plots.pdf
+ @man -t tools/plot/fio2gnuplot.1 | ps2pdf - fio2gnuplot.pdf
+
install: $(PROGS) $(SCRIPTS) tools/plot/fio2gnuplot.1 FORCE
$(INSTALL) -m 755 -d $(DESTDIR)$(bindir)
$(INSTALL) $(PROGS) $(SCRIPTS) $(DESTDIR)$(bindir)
install: $(PROGS) $(SCRIPTS) tools/plot/fio2gnuplot.1 FORCE
$(INSTALL) -m 755 -d $(DESTDIR)$(bindir)
$(INSTALL) $(PROGS) $(SCRIPTS) $(DESTDIR)$(bindir)